Home

Awesome

Analysis of Local Police Data

This repository includes methodologies, data, and code supporting the following articles, published by The Trace and BuzzFeed News:

Click here for additional data and code from The Trace and BuzzFeed News's collaboration.

Data

The Trace and BuzzFeed News analyzed internal data on homicides, aggravated assaults, and non-fatal shootings from 22 municipal police departments in the United States. You can find a description of the standardization process and the data fields in this methodology, and you can download a copy of the standardized offense dataset.

Data Analysis

The notebooks/analyze-local-police-data.ipynb notebook, written in Python, takes the standardized data, and does the following:

Note: To reproduce the findings, you'll need to unzip the inputs/offenses-standardized.csv.zip file before running the notebook.

Data Disclaimer

The data in this repository is a standardization of raw data that police departments provided to The Trace and BuzzFeed News in response to a public records request. We have carefully checked the accuracy of our analysis, and shared our findings with the respective agencies and numerous experts in the law enforcement field prior to publication. We are sharing our data, methodology, and code in order to support further research and reporting on gun violence. However, users of this data may wish to independently verify the accuracy of their findings prior to making them public, as The Trace and Buzzfeed make no representations or warranties as to any third party use of this data.

Licensing

All code in this repository is available under the MIT License. All data files are available under the Creative Commons Attribution 4.0 International (CC BY 4.0) license.

Questions / Comments?

Please contact Jeremy Singer-Vine at jeremy.singer-vine@buzzfeed.com.