{"id":30428846,"url":"https://github.com/openpolicedata/openpolicedata","last_synced_at":"2026-01-10T03:52:16.530Z","repository":{"id":37812277,"uuid":"425551490","full_name":"openpolicedata/openpolicedata","owner":"openpolicedata","description":"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 236 police agencies and 11 entire states. Types of data include traffic stops, use of force, officer-involved shootings, and complaints. ","archived":false,"fork":false,"pushed_at":"2025-07-27T17:41:29.000Z","size":1836,"stargazers_count":34,"open_issues_count":66,"forks_count":12,"subscribers_count":4,"default_branch":"main","last_synced_at":"2025-07-27T19:30:46.187Z","etag":null,"topics":["accountability","arcgis-api","data-science","officer-involved-shootings","open-data","pandas","police-complaints","police-data","python","socrata-api","traffic-stops","transparency","use-of-force"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"bsd-3-clause","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/openpolicedata.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":"CONTRIBUTING.MD","funding":null,"license":"LICENSE","code_of_conduct":"CODE_OF_CONDUCT.md","threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2021-11-07T16:11:00.000Z","updated_at":"2025-07-27T16:03:01.000Z","dependencies_parsed_at":"2023-09-26T03:44:26.201Z","dependency_job_id":"37da58a9-bda0-4904-b676-76457d21af7f","html_url":"https://github.com/openpolicedata/openpolicedata","commit_stats":null,"previous_names":[],"tags_count":23,"template":false,"template_full_name":null,"purl":"pkg:github/openpolicedata/openpolicedata","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/openpolicedata%2Fopenpolicedata","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/openpolicedata%2Fopenpolicedata/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/openpolicedata%2Fopenpolicedata/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/openpolicedata%2Fopenpolicedata/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/openpolicedata","download_url":"https://codeload.github.com/openpolicedata/openpolicedata/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/openpolicedata%2Fopenpolicedata/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":271664762,"owners_count":24799291,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-08-22T02:00:08.480Z","response_time":65,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["accountability","arcgis-api","data-science","officer-involved-shootings","open-data","pandas","police-complaints","police-data","python","socrata-api","traffic-stops","transparency","use-of-force"],"created_at":"2025-08-22T16:01:42.947Z","updated_at":"2026-01-10T03:52:16.458Z","avatar_url":"https://github.com/openpolicedata.png","language":"Python","funding_links":[],"categories":["Python"],"sub_categories":[],"readme":"[![PyPI version](https://badge.fury.io/py/openpolicedata.svg)](https://badge.fury.io/py/openpolicedata)\n[![Streamlit App](https://static.streamlit.io/badges/streamlit_badge_black_white.svg)](https://openpolicedata.streamlit.app)\n\n# OpenPoliceData\nThe 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 236 police agencies and 11 entire states. Types of data include traffic stops, use of force, officer-involved shootings, and complaints. \n\nUsers request data by department name and type of data, and the data is returned as a [pandas DataFrame](https://pandas.pydata.org/pandas-docs/stable/reference/api/pandas.DataFrame.html). There is no need to manually find the data online or to know how to work with open data APIs (ArcGIS, Socrata, etc.). When data is loaded by OPD, the returned data is unmodified (with the exception of formatting known date fields) from what appears on the source's site, and OPD provides links to the original data for transparency.\n\nOpenPoliceData can be installed from the Python Package Index (PyPI):\n```\npip install openpolicedata\n``` \n\nOpenPoliceData provides access to police data with 2 simple lines of code:\n```\n\u003e import openpolicedata as opd\n\u003e src = opd.Source(\"New Orleans\")\n\u003e data = src.load(table_type=\"USE OF FORCE\", date=2022)\n```\n\n- Documentation: https://openpolicedata.readthedocs.io/\n- Source Code: https://github.com/openpolicedata/openpolicedata\n- Bug Tracker: https://github.com/openpolicedata/openpolicedata/issues\n- [Latest Datasets](#latest-datasets-added)\n- [Release Notes](#release-notes-for-version-057-2023-09-05)\n- [Contributing](#contributing)\n\n\n![alt text](https://github.com/openpolicedata/opd-data/blob/main/OPD_Datasets_Map.png?raw=true)\n\n## Latest Datasets Added to OPD\n**We've added a huge number of datasets recently!**\n- 2025 datasets: Phoenix and San Jose Calls for Service, Cedar Lake, IN Arrests, Calls for Service, Traffic Stops, Traffic Citations, Traffic Warnings, and Crashes, Griffith, IN Arrests, Calls for Service, Traffic Stops, Traffic Citations, Traffic Warnings, and Crashes, St. John, IN Arrests, Calls for Service, Traffic Stops, Traffic Citations, Traffic Warnings, and Crashes, Wichita Crashes, Louisville Incidents, New Orleans Calls for Services and Incidents, Minneapolis Incidents, Portland, OR Calls for Service\n- 2024 datasets: Oakland Use of Force, Washington D.C. Incidents and Lawsuits, Chicago Pedestrian Stops, Louisville Incidents, New Orleans Calls for Services and Incidents, Baltimore Calls for Service, Pittsfield, MA Arrests and Crashes, Lincoln Calls for Service, Incidents, Traffic Stops, Vehicle Pursuits, and Use of Force, New York City Pedestrian Stops, Asheville Calls for Service, Durham Calls for Service, Norman Arrests, Comlaints, Crashes, Incidents, Traffic Stops and Use of Force, Charleston Citations, Nashville Calls for Service, Albemarle County VA STOPS, Bremerton, WA Arrests, Citations, and Incidents\n- California: Stops data for all departments submitted for RIPA for 2018-2023\n- Cincinnati Officer Involved Shootings and Use of Force\n- Memphis Traffic Citations and Traffic Stops\n- New Jersey State Police 2021 Traffic Stops\n- Los Angeles Calls for Service and Incidents\n- Seattle Arrests\n- Portland, OR Arrests and Incidents\n- Richmond, CA Arrests\n\n## Contributing\n[\u003cimg src=\"https://avatars.githubusercontent.com/u/67804485\" alt=\"Alt Text\" width=\"35\" height=\"35\"\u003e](https://github.com/sowdm)\n[\u003cimg src=\"https://avatars.githubusercontent.com/u/9930263\" alt=\"Alt Text\" width=\"35\" height=\"35\"\u003e](https://github.com/potto216)\n[\u003cimg src=\"https://avatars.githubusercontent.com/u/56132560\" alt=\"Alt Text\" width=\"35\" height=\"35\"\u003e](https://github.com/minkedup)\n[\u003cimg src=\"https://avatars.githubusercontent.com/u/42755301\" alt=\"Alt Text\" width=\"35\" height=\"35\"\u003e](https://github.com/imrnmzri)\n[\u003cimg src=\"https://avatars.githubusercontent.com/u/178184249\" alt=\"Alt Text\" width=\"35\" height=\"35\"\u003e](https://github.com/Brijeshthummar02)\n[\u003cimg src=\"https://avatars.githubusercontent.com/u/142138112\" alt=\"Alt Text\" width=\"35\" height=\"35\"\u003e](https://github.com/harikrishnatp)\n[\u003cimg src=\"https://avatars.githubusercontent.com/u/170487658\" alt=\"Alt Text\" width=\"35\" height=\"35\"\u003e](https://github.com/gotog11)\n[\u003cimg src=\"https://avatars.githubusercontent.com/u/98405259\" alt=\"Alt Text\" width=\"35\" height=\"35\"\u003e](https://github.com/apancoast)\n\nAll contributions are welcome including code enhancments, bug fixes, bug reports, documentation updates, and locating new datasets. If you're interesting in helping out, see our [Contributing Guide](https://github.com/openpolicedata/openpolicedata/blob/main/CONTRIBUTING.MD) or reach out by [email](mailto:openpolicedata@gmail.com).\n\n## v0.12 - 2025-07-27\n### Changed\n- Name of year input changed to date in Table and Source classes to more clearly reflect that input can handle both year and date ranges\n### Deprecated\n- Usage of year input changed to date in Table and Source classes. date input should be used instead.\n\nComplete change log available at: https://github.com/openpolicedata/openpolicedata/blob/main/CHANGELOG.md","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fopenpolicedata%2Fopenpolicedata","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fopenpolicedata%2Fopenpolicedata","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fopenpolicedata%2Fopenpolicedata/lists"}