Skip to content

Data and visualization of all capital punishments in the U.S., 1608-present

License

Notifications You must be signed in to change notification settings

TimeMagazine/death-penalty-data

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

29 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

U.S. death penalty historical data

Convert the Espy file into clean CSV or JSON documents

##Data Data for U.S. executions from 1608 through 2002 is provided by the "ESPY file", which is freely available for download from the Interuniversity Consortium for Political and Social Research. The license for this data prevents us form distributing the file through the repo, you will have to download this file manually and place it in the repo's root directory. The file in the uncompressed folder from ICPSR is named 08451-0001-Data.txt.

##Running After downloading the data, place the .txt file in the root directory and run the script:

python main.py

The script has several options:

  • --csv: to retrieve a CSV file of the processed data

  • --json: to retrieve a JSON file with the processed data

  • --states: reduce list to executions carried out by the state. (Excludes federal and military executions)

  • --summary: instead of a list of individual executions, return aggregate data by state

About

Data and visualization of all capital punishments in the U.S., 1608-present

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages