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 --upgradefrom 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.
Find out how to install OPD and learn the basics
Learn what types of data are available in OPD and for what agencies
Explore how to use OPD with Jupyter Notebooks
Find other police data projects
Search for help with common issues
Works citing OPD and how to cite OPD
Advanced Topics#
The follow guides describe more advanced topics that may interest you after viewing the Getting Started Guide.
More advanced year/date filtering and how to handle special (rare) cases
How to customize (optional) data standardization processing
Only looking for a single dataset or want to explore the data available in OpenPoliceData? Try out OpenPoliceData Explorer, our Streamlit web app!