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 287 downloads 8 exports 39 dependencies

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

TargetResultTimeFilesSyslog
linux-devel-x86_64NOTE212
source / vignettesOK241
linux-release-x86_64NOTE228
macos-release-arm64NOTE235
macos-oldrel-arm64NOTE171
windows-develNOTE147
windows-releaseNOTE193
windows-oldrelNOTE217
wasm-releaseOK152

Exports:vb_continuousvb_differencevb_discretevb_plotvb_summaryvb_uncertaintyvbdfwtd_table

Dependencies:clicollapsecpp11dplyrfarverFNNgenericsggplot2gluegtableisobandkernlabKernSmoothkslabelinglatticelifecyclemagrittrMatrixmclustmgcvmulticoolmvtnormnlmepillarpkgconfigpracmaR6RColorBrewerRcpprlangS7scalestibbletidyselectutf8vctrsviridisLitewithr