Historical data on executions in the US (1801-1900) and script for scraping, wrangling, mapping, and visualizing data on US executions
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
README.md
death_penalties_US_1801-1900.rds
death_penalty_US.R

README.md

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: