blocs: Estimate and Visualize Voting Blocs' Partisan Contributions

Functions to combine data on voting blocs' size, turnout, and vote choice to estimate each bloc's vote contributions to the Democratic and Republican parties. The package also includes functions for uncertainty estimation and plotting. Users may define voting blocs along a discrete or continuous variable. The package implements methods described in Grimmer, Marble, and Tanigawa-Lau (2022) <doi:10.31235/osf.io/c9fkg>.

Version: 0.1.0
Depends: R (≥ 3.6.0)
Imports: collapse (≥ 1.7.6), dplyr (≥ 1.0.6), ggplot2 (≥ 3.2.0), ks (≥ 1.13.4), mgcv (≥ 1.8.39), rlang (≥ 1.0.0), tibble (≥ 3.0.0)
Suggests: devtools (≥ 2.4.3), questionr (≥ 0.7.7), reldist (≥ 1.7.0), testthat (≥ 3.1.3)
Published: 2022-11-23
Author: Justin Grimmer [aut], Will Marble ORCID iD [aut], Cole Tanigawa-Lau ORCID iD [aut, cre]
Maintainer: Cole Tanigawa-Lau <coletl at stanford.edu>
License: GPL (≥ 3)
NeedsCompilation: no
Materials: README NEWS
CRAN checks: blocs results

Documentation:

Reference manual: blocs.pdf

Downloads:

Package source: blocs_0.1.0.tar.gz
Windows binaries: r-devel: blocs_0.1.0.zip, r-release: not available, r-oldrel: blocs_0.1.0.zip
macOS binaries: r-release (arm64): not available, r-oldrel (arm64): not available, r-release (x86_64): blocs_0.1.0.tgz, r-oldrel (x86_64): blocs_0.1.0.tgz

Linking:

Please use the canonical form https://CRAN.R-project.org/package=blocs to link to this page.