Augmented Washington Post's Fatal Force dataset using original dataset and United States census data from 2017.
data/fatal-police-shootings-data.csv
: data from The Washington Post repository.data/statepop.csv
: demographic data by state sourced from the U.S. Census.data/police-shootings-data-census.csv
: resulting dataset as a combination of the previous ones.
pip3 install -r requirements.txt
To generate the dataset using local version of fatal-police-shootings-data.csv
included in this repository (April 2021)
make run
To generate the dataset using last available version of fatal-police-shootings-data.csv
from Washington Post's original repository
make current
To generate the dataset using local version of fatal-police-shootings-data.csv
included in this repository (April 2021)
python build_dataset.py
To generate the dataset using last available version of fatal-police-shootings-data.csv
from Washington Post's original repository
python build_dataset.py current
[1] The Washington Post
[2] U.S. Census Bureau
[3] FiveThirtyEight