New York City Shooting Incident Time-Series Analysis
- nmariousasilo
- Aug 10, 2023
- 2 min read

In the bustling metropolis of New York City, the New York Police Department (NYPD) plays a vital role in maintaining public safety and upholding law and order. Amid the complex dynamics of urban life, incidents involving firearm discharges pose significant challenges for both law enforcement agencies and the communities they serve. The analysis of NYPD shooting incidents offers a profound opportunity to delve into the underlying factors, patterns, and trends that shape these events and, in turn, contribute to the broader discourse on public safety and community well-being.
CONTENT OF THE PROJECT
DATA SOURCE
Our study utilizes the NYPD shooting incident data from NYC Open data. The data contains the list of every shooting incident that occurred in NYC going back to 2006 through the end of the year 2022. Click the link for the raw dataset. https://data.cityofnewyork.us/Public-Safety/NYPD-Shooting-Incident-Data-Historic-/833y-fsy8
THE QUEST FOR INSIGHTS
Beyond the statistical aspects, this analysis seeks to provide meaningful insights that can drive actionable change. By identifying high-incidence areas, understanding potential escalation factors, and recognizing patterns of victimization, law enforcement agencies can enhance their strategic approaches to crime prevention and community engagement. Furthermore, these insights can foster informed public discussions, enabling local communities, policymakers, and advocacy groups to collaborate on initiatives that address the root causes of shooting incidents.
For complete data analysis process, visit the notebook on Kaggle.
TIME-SERIES ANALYSIS
Number of Shooting Incidents in New York per Year

In total, there are 27302 shooting incidents in New York City from 2006 to 2022 and 5266 incidents that result in death. Overall, 19.29% of shooting incident ends up in death.
Annual Shooting Incidents Trends: A Comparative Analysis by Month

As we observe, July 2020 has the number highest shooting incident in New York City since 2006.
Now, for improved visualization, we will isolate each year to examine the months with the highest recorded shooting incidents.
Plots of Shooting Incident and Death per Month

















Based on the graphical representations, there is a notable surge in the frequency of shooting incidents in New York City, occurring in the middle months spanning from May to August.
Shooting Incident vs Borough

In general, Brooklyn experiences the highest susceptibility to shootings and deaths among all boroughs in New York City.
CONCLUSION
To sum up, Brooklyn stands as the most susceptible to shooting incidents, while the period between May and August (Summer) in New York consistently experiences heightened danger due to consistently elevated shooting incidents during these months. For those seeking deeper insights, I propose including the total population data for each borough of New York City from 2006 to 2022. This addition would enable a correlation analysis between shooting incidents and population trends.

