Updated

Police Deaths

API Access

Access dataset files directly from scripts, code, or AI agents.

Browse dataset files
Dataset Files

Each file has a stable URL (r-link) that you can use directly in scripts, apps, or AI agents. These URLs are permanent and safe to hardcode.

/fivethirtyeight/police-deaths/
https://datahub.io/fivethirtyeight/police-deaths/_r/-/README.md
https://datahub.io/fivethirtyeight/police-deaths/_r/-/data/all_data.csv
https://datahub.io/fivethirtyeight/police-deaths/_r/-/data/clean_data.csv
https://datahub.io/fivethirtyeight/police-deaths/_r/-/datapackage.json
Key Files

Start with these files — they give you everything you need to understand and access the dataset.

datapackage.jsonmetadata & schema
https://datahub.io/fivethirtyeight/police-deaths/_r/-/datapackage.json
README.mddocumentation
https://datahub.io/fivethirtyeight/police-deaths/_r/-/README.md
Typical Usage
  1. 1. Fetch datapackage.json to inspect schema and resources
  2. 2. Download data resources listed in datapackage.json
  3. 3. Read README.md for full context

Data Previews

all_data

Loading data...

Schema

nametypeformat
personstringdefault
deptstringdefault
eowstringdefault
causestringdefault

clean_data

Loading data...

Schema

nametypeformat
personstringdefault
deptstringdefault
eowstringdefault
causestringdefault
cause_shortstringdefault
dateintegerdefault
yearstringdefault
caninestringdefault
dept_namedatedefault
stateintegerdefault

Data Files

FileDescriptionSizeLast modifiedDownload
all_data
2.87 MBabout 1 month ago
all_data
clean_data
4.5 MBabout 1 month ago
clean_data
FilesSizeFormatCreatedUpdatedLicenseSource
27.37 MBcsvabout 1 month agoFiveThirtyEight - Police Deaths

Police Deaths

This directory contains the data and code behind the story The Dallas Shooting Was Among The Deadliest For Police In U.S. History. The primary source of data is the Officer Down Memorial Page (ODMP), started in 1996 by a college student who is now a police officer and who continues to maintain the database.

File descriptions:

FileDescription
scrape.RScrapes data on the death of every officer tracked on ODMP
all_data.csvOutput of scrape.R
clean.RTakes the data in all_data.csv, cleans it and formats the dates correctly, and tags every entry as human or canine.
clean_data.csvOutput of clean.R
plot.RSummarizes police deaths by category and generates a plot similar to the one below

This dataset was scraped from FiveThirtyEight - police-deaths