A Toolbox for Using the CPS’s Voting and Registration Supplement
Download CPS microdata
Download CPS technical documentation
Apply factor levels to raw CPS data
load some basic/default CPS data into the environment
Read in CPS data
Load a single CPS file
recode the voting variable for turnout calculations
combine factor levels across years
apply weight correction for voter turnout
vectorized na_if
Pipe operator
Provides automated methods for downloading, recoding, and merging selected years of the Current Population Survey's Voting and Registration Supplement, a large N national survey about registration, voting, and non-voting in United States federal elections. Provides documentation for appropriate use of sample weights to generate statistical estimates, drawing from Hur & Achen (2013) <doi:10.1093/poq/nft042> and McDonald (2018) <http://www.electproject.org/home/voter-turnout/voter-turnout-data>.