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 (2023) <doi:10.31235/osf.io/c9fkg>.

Version: 0.1.1
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: 2023-04-02
DOI: 10.32614/CRAN.package.blocs
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.1.tar.gz
Windows binaries: r-devel: blocs_0.1.1.zip, r-release: blocs_0.1.1.zip, r-oldrel: blocs_0.1.1.zip
macOS binaries: r-release (arm64): blocs_0.1.1.tgz, r-oldrel (arm64): blocs_0.1.1.tgz, r-release (x86_64): blocs_0.1.1.tgz, r-oldrel (x86_64): blocs_0.1.1.tgz
Old sources: blocs archive

Linking:

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