Package: cpsvote 0.2.1

Paul Gronke

cpsvote: A Toolbox for Using the CPS’s Voting and Registration Supplement

Provides automated methods for downloading, recoding, and merging selected years of the Current Population Survey's Voting and Registration Supplement <https://www.nber.org/research/data/current-population-survey-cps-supplements-voting-and-registration>, 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) <https://www.electproject.org/election-data/voter-turnout-data>.

Authors:Jay Lee [aut], Paul Gronke [aut, cre], Frank Adonteng [ctb], John Curiel [ctb]

cpsvote_0.2.1.tar.gz
cpsvote_0.2.1.zip(r-4.7)cpsvote_0.2.1.zip(r-4.6)cpsvote_0.2.1.zip(r-4.5)
cpsvote_0.2.1.tgz(r-4.6-any)cpsvote_0.2.1.tgz(r-4.5-any)
cpsvote_0.2.1.tar.gz(r-4.7-any)cpsvote_0.2.1.tar.gz(r-4.6-any)
cpsvote_0.2.1.tgz(r-4.6-emscripten)
manual.pdf |manual.html
DESCRIPTION
card.svg |card.png
cpsvote/json (API)

# Install 'cpsvote' in R:
install.packages('cpsvote', repos = c('https://reed-evic.r-universe.dev', 'https://cloud.r-project.org'))

Bug tracker:https://github.com/reed-evic/cpsvote/issues

Pkgdown/docs site:https://reed-evic.github.io

Datasets:

On CRAN:

Conda:

6.92 score 3 stars 40 scripts 328 downloads 12 exports 29 dependencies

Last updated from:125b233859. Checks:9 OK. Indexed: yes.

TargetResultTimeFilesSyslog
linux-devel-x86_64OK165
source / vignettesOK220
linux-release-x86_64OK160
macos-release-arm64OK124
macos-oldrel-arm64OK132
windows-develOK108
windows-releaseOK122
windows-oldrelOK93
wasm-releaseOK166

Exports:%>%cps_data_dircps_docs_dircps_download_datacps_download_docscps_labelcps_load_basiccps_readcps_read_yearcps_recode_votecps_refactorcps_reweight_turnout

Dependencies:bitbit64clicliprcpp11crayondplyrforcatsgenericsgluehmslifecyclemagrittrpillarpkgconfigprettyunitsprogressR6readrrlangstringistringrtibbletidyselecttzdbutf8vctrsvroomwithr

Read Additional CPS Variables

Last update: 2026-06-30
Started: 2020-12-11

Background Information and Context
Why EVIC Created cpsvote | Using the CPS Voting and Registration Supplement: Methodological and Data Challenges | Challenge 1: The Survey Content, Column Names, and Coding Change Over Time | Challenge 2: Survey Weights Are a Necessity When Using the Voting and Registration Supplement | Challenge 3: CPS Makes Idiosyncratic Coding Choices for Voter Turnout, and Turnout Estimates Are Biased | Sample Usage: Varying Estimates of Voter Turnout in 2020 | More Resources

Last update: 2026-06-30
Started: 2020-10-06

cpsvote: A Social Science Toolbox for Using the Current Population Survey's Voting and Registration Supplement
Installing and Loading the Package | Basic Use (AKA Tips if You Don't Like Reading Documentation) | Advanced Use | Examples, Background Reading, and Data Sources | Acknowledgements

Last update: 2026-06-30
Started: 2020-10-07

Using the CPS and cpsvote to Understand Voting Part 2

Last update: 2026-06-30
Started: 2020-12-11

Using the CPS and cpsvote to Understand Voting
Overview: How cpsvote Helps Resolve Challenges in Using the CPS to Study Voting Behavior | Voter Turnout in the CPS | Example: Estimating Voter Turnout in 2020 | Example: Estimating Turnout Within Racial Groups | Example: A Simple Map of Voter Turnout by State | Vote Mode in the CPS: Election Day, Early In-Person, and Absentee/Voting by Mail | Example: Growth in Alternative Voting Modes | Example: Growth in Vote By Mail Concentrated in the West | Example: Mapping Alternative Methods of Voting

Last update: 2026-06-30
Started: 2020-10-09