OPD User Survey: We would love to hear how you are using OpenPoliceData and how we can make it better! Please take a moment to fill out this short survey.

Older OpenPoliceData versions (<0.6) must be upgraded. Data source table format changes that were not backward-compatible were introduced to provide access to more datasets. However, a methodology for providing older source table formats for older OPD versions was not introduced until version 0.6. Run pip install openpolicedata --upgrade from the command line to upgrade OPD.

OpenPoliceData#

Welcome to the new OpenPoliceData documentation. The OpenPoliceData (OPD) Python library is the most comprehensive centralized public access point for incident-level police data in the United States. OPD provides easy access to 550+ incident-level datasets from about 236 police agencies and 11 entire states. Types of data include traffic stops, use of force, officer-involved shootings, and complaints. It provides a simple interface for finding publically available data and downloading data into pandas DataFrames.

Getting Started

Find out how to install OPD and learn the basics

getting_started/index.ipynb
Datasets

Learn what types of data are available in OPD and for what agencies

datasets/index.ipynb
Examples

Explore how to use OPD with Jupyter Notebooks

examples/index.md
Related Projects

Find other police data projects

resources/index.md
Troubleshooting

Search for help with common issues

troubleshooting/index.md
Citations

Works citing OPD and how to cite OPD

citations/index.md

Advanced Topics#

The follow guides describe more advanced topics that may interest you after viewing the Getting Started Guide.

Year/Date Filtering

More advanced year/date filtering and how to handle special (rare) cases

getting_started/year_filtering.ipynb
Data Standardization

How to customize (optional) data standardization processing

examples/opd-examples/standardization.ipynb

Only looking for a single dataset or want to explore the data available in OpenPoliceData? Try out OpenPoliceData Explorer, our Streamlit web app!