Police Deaths

FilesSizeFormatCreatedUpdatedLicenseSource
27.37 MBcsvover 6 years agoFiveThirtyEight - 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), ...

Read more

Data Files

FileDescriptionSizeLast modifiedDownload
all_data
2.87 MBover 6 years ago
all_data
clean_data
4.5 MBover 6 years ago
clean_data

Data Previews

all_data

Schema

nametypeformat
personstringdefault
deptstringdefault
eowstringdefault
causestringdefault

clean_data

Schema

nametypeformat
personstringdefault
deptstringdefault
eowstringdefault
causestringdefault
cause_shortstringdefault
dateintegerdefault
yearstringdefault
caninestringdefault
dept_namedatedefault
stateintegerdefault

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

© 2024 All rights reservedBuilt with DataHub Cloud