Skip to content

kyleraze/shelby_county_voting_replication

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Replication archive for Raze (2022)

This repository contains replication materials for Raze (2022), "Voting rights and the resilience of Black turnout," Economic Inquiry, 60(3), 1127–1141.

Software requirements

  1. R
  2. RStudio

Instructions

  1. Download version 5.0 of the "Cumulative CCES Common Content" file (cumulative_2006-2019.dta) from the Harvard Dataverse.

  2. Move cumulative_2006-2019.dta to the Data folder.

  3. Open the R project shelby_county_voting_replication_replication.Rproj in RStudio.

  4. Install the groundhog package by running the following in the RStudio console:

install.packages("groundhog")
  1. Set up a local directory for packages by running the following in the RStudio console and entering "OK" when prompted:
groundhog::get.groundhog.folder()
  1. Replicate the analysis by running the following in the RStudio console:
if (!require("callr")) install.packages("callr")
callr::rscript("Scripts/01-cces_data.R")
callr::rscript("Scripts/02-summary_statistics.R")
callr::rscript("Scripts/03-main_analysis.R")
  1. Check the Results folder for .tex, .png, and .rds outputs.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages