Dataset:
Boston Crime: https://www.kaggle.com/AnalyzeBoston/crimes-in-boston
District in Boston: https://bpdnews.com/districts
Software: Python
Packages :
Data Cleaning : Pandas, Numpy
Data Visualization : Matplotlib, Seaborn, folium
Identify time pattern of incidents in boston area
Uncover pattern of district incidents in boston area
Specific incidents pattern in time and location
Get rid of unmeaningful columns : incident number, shooting (large missing value )
Exclude 2015 and 2020 in time (not full data)
Exclude external district (not clear)
Change Distriction Code into name
Trend : No clear Trend
Seasonality : Clear Time Seasonality Pattern
Hour : More often during the work hour
Week : More often in Weekday than weekend
Month : Less in winter
Except Mattapan, Downtown, South boston, Hyde Park, West Roxbury and Charlestown, other districts had decrease in the incidents number.
South End, Roxbury, Mattapan, Downtown and Dorchester are over the mean level.
More incidents happened in Roxbury, Dorchester and SouthEnd.
We can divide areas into five specific areas according to incidents :
Business Area
From map, we can see shoplifting is serve in the backbay.
For store in there, they get better surveillance camera in the store to keep safe.
Including South End, Downtown and South Boston.
Shoplifting in all areas
Bad Transportation Area
Having incidents includes towed
Including Charles town and Brighton, notely that downtown and south end have less towed incidents than other areas
Towed incidents in all area
Drug Issue Area:
Including Jamaica Plain,south end and downtown ....
Most frequent incidents in drug violation is cocaine, sale ...
Drug Violation in all area
Historical Area:
Having incidents like vandalism
Including east Boston
Mostly because there are more historical site in these districts.
Vandalism in all area
Resident Area :
Frequent in Verbal Disputes. Verbal disputes most refers people having oral arguing.
Including Mattapan, Roxbury in map
Verbal Disputes in all area
Overall, most three frequent incidents :
motor vehicle accident response
Larceny
Medical Assistance
Motor Vehicle Accident is high in Roxbury,Dorchester
Larceny is high in South End and Downtown
Medical Assistance is high in Roxbury and Dorchester
Most happen in Dorchest and Roxbury
Reasons can be listed :
Dazzling traffic light
Narrow Lane
Complex road trend
Roadway with high traffic flow