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)blocs_0.1.1.9000.zip(r-4.6)blocs_0.1.1.9000.zip(r-4.5)
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.6-any)blocs_0.1.1.9000.tar.gz(r-4.5-any)
blocs_0.1.1.9000.tgz(r-4.5-emscripten)
blocs.pdf |blocs.html
blocs/json (API)
NEWS

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

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

TargetResultTimeFilesSyslog
linux-devel-x86_64NOTE207
source / vignettesOK277
linux-release-x86_64NOTE200
macos-release-arm64NOTE163
macos-oldrel-arm64NOTE201
windows-develNOTE137
windows-releaseNOTE152
windows-oldrelNOTE145
wasm-releaseOK160

Exports:vb_continuousvb_differencevb_discretevb_plotvb_summaryvb_uncertaintyvbdfwtd_table

Dependencies:clicollapsecpp11dplyrfarverFNNgenericsggplot2gluegtableisobandkernlabKernSmoothkslabelinglatticelifecyclemagrittrMatrixmclustmgcvmulticoolmvtnormnlmepillarpkgconfigpracmaR6RColorBrewerRcpprlangS7scalestibbletidyselectutf8vctrsviridisLitewithr