The data set Major Crime Indicators from City of Toronto’s Open Data Portal was analyzed to assess the Toronto Police Service’s efficacy in reducing major crime frequency in high-risk neighbourhoods from 2014 to 2023. The analysis indicates minimal decline in crime rates in these neighbourhoods compared to others over the decade. This lack of progress suggests the Toronto Police Service has not significantly reduced major crime frequency in high-risk areas during this period. To explore potential causes, the analysis includes the Toronto Police Service’s Operating Impact and examines the intricate relationships among socio-economic factors, policing, and major crime rates.
Aspects of the code were written with the help of ChatGPT 3.5, namely Tables 3 through 10, along with the graph in Section 4.
The repo is structured as:
input/data
contains the data sources used in analysis including the raw data.input/sketches
contains the original sketches used to plan the project and data analysis.outputs/data
contains the cleaned dataset that was constructed.outputs/paper
contains the files used to generate the paper, including the Quarto document and reference bibliography file, as well as the PDF of the paper. scripts
contains the R scripts used to simulate, download and clean data.