Package: blocs 0.1.1.9000

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>.

Authors:Justin Grimmer [aut], Will Marble [aut], Cole Tanigawa-Lau [aut, cre]

blocs_0.1.1.9000.tar.gz
blocs_0.1.1.9000.zip(r-4.7-any)blocs_0.1.1.9000.zip(r-4.6-any)blocs_0.1.1.9000.zip(r-4.5-any)
blocs_0.1.1.9000.tgz(r-4.6-any)blocs_0.1.1.9000.tgz(r-4.5-any)
blocs_0.1.1.9000.tar.gz(r-4.7-any)blocs_0.1.1.9000.tar.gz(r-4.6-any)
blocs_0.1.1.9000.tgz(r-4.6-emscripten)
manual.pdf |manual.html✨
DESCRIPTION |NEWS
card.svg |card.png
blocs/json (API)

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

Bug tracker:https://github.com/coletl/blocs/issues

Pkgdown/docs site:https://coletl.github.io

Datasets:
  • anes - Sample of 2020 ANES cumulative data file

On CRAN:

Conda:

2.70 score 10 scripts 330 downloads 8 exports 39 dependencies

Last updated from:e21463829c. Checks:7 NOTE, 2 OK. Indexed: yes.

TargetResultTimeFilesSyslog
linux-develNOTE198
source / vignettesOK226
linux-releaseNOTE215
macos-releaseNOTE202
macos-oldrelNOTE211
windows-develNOTE183
windows-releaseNOTE143
windows-oldrelNOTE145
wasm-releaseOK142

Exports:vb_continuousvb_differencevb_discretevb_plotvb_summaryvb_uncertaintyvbdfwtd_table

Dependencies:clicollapsecpp11dplyrfarverFNNgenericsggplot2gluegtableisobandkernlabKernSmoothkslabelinglatticelifecyclemagrittrMatrixmclustmgcvmulticoolmvtnormnlmepillarpkgconfigpracmaR6RColorBrewerRcpprlangS7scalestibbletidyselectutf8vctrsviridisLitewithr