Skip to content

Historical data on executions in the US (1801-1900) and script for scraping, wrangling, mapping, and visualizing data on US executions

Notifications You must be signed in to change notification settings

lhehnke/crime-data

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

24 Commits
 
 
 
 
 
 

Repository files navigation

crime-data

Historical data on executions in the US (1801-1900) and script for scraping, wrangling, mapping, and visualizing data on US executions

Description: death_penalties_US_1801-1900

Contains the following scraped data on executed criminals in the United States (N = 5455):

  • name
  • age
  • race
  • sex
  • occupation
  • crime
  • method
  • month/day/year of execution
  • state

Data source: www.deathpenaltyusa.org

Description: death_penalty_US

Corresponding blog post: https://lhehnke.github.io/notes/2018/02/08/death-penalty-us

The script covers

  • scraping tables containing information on executions in the United States with rvest
  • wrangling scraped data
  • mapping executions by state with tmap
  • visualizing the number of executions by
    • sex
    • race
    • method of execution

using the above data on executions in the US from 1801 to 1900.

Example map:

Example plot:

About

Historical data on executions in the US (1801-1900) and script for scraping, wrangling, mapping, and visualizing data on US executions

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages