police shootings icon

Police Shootings Python Library

From the CORGIS Dataset Project

By Dennis Kafura (kafura@vt.edu), Joung Min Choi, Bo Guan
Version 0.0.2, created 9/15/2021
Tags: violence, crime, violent, police, shootings, race, location, time

Overview

https://www.washingtonpost.com/national/how-the-washington-post-is-examining-police-shootings-in-the-united-states/2016/07/07/d9c52238-43ad-11e6-8856-f26de2537a9d_story.html

https://github.com/washingtonpost/data-police-shootings

Explore Structure

Each row represents a fatal shooting in the US since 2015.

Index Type Example Value
0 dict { }
1 dict (same structure)
2 dict (same structure)
... ... ...
Key Type Example Value Description
"Person" dict { }
"Incident" dict { }
"Factors" dict { }
"Shooting" dict { }
Key Type Example Value Description
"Name" str "Tim Elliot" Full name of the individual or "Unknown" if not reported
"Age" int 53 Age in years of the individual or 0 (zero) if not reported
"Gender" str "Male" One of Male, Female, or Unknown
"Race" str "Asian" One of Asian, African American, White, Hispanic, Native American, Other, or Unknown.
Key Type Example Value Description
"Date" dict { }
"Location" dict { }
Key Type Example Value Description
"Month" int 1 Month (1-12) in which the shooting occurred
"Day" int 2 Day (1-31) in which the shooting occurred
"Year" int 2015 Year (2015-2019) in which the shooting occurred
"Full" str "2015/01/02" Date in which shooting occurred (Year/Month/Day)
Key Type Example Value Description
"City" str "Shelton" Name of city in which the shooting occurred
"State" str "WA" Name of U.S. State in which the shooting occurred
Key Type Example Value Description
"Armed" str "gun" Description of any weapon carried by the person (.e., "gun", "knife", "unarmed"); value is "unknown" if not reported.
"Mental-Illness" bool True True if factors of mental illness were perceived in the person; False otherwise
"Threat-Level" str "attack" Threat of person as perceived by police. One of "attack", "undetermined", or "other"; value is "unknown" if not reported.
"Fleeing" str "Not fleeing" Means by which person was fleeing (e.g., "Car", "Foot") or "Not fleeing"; value is "unknown" if not reported.
Key Type Example Value Description
"Manner" str "shot" Manner of person's death: one of "shot" or "shot and Tasered".
"Body-Camera" bool True True if police body camera recorded incident; False otherwise.

Downloads

Download all of the following files.

  1. police_shootings.py
  2. police_shootings.data

Usage

import police_shootings
shootings = police_shootings.get_shootings()

Documentation

get_shootings()
Returns a list of dictionaries representing Shootings.