CRAN/E | blocs

blocs

Estimate and Visualize Voting Blocs' Partisan Contributions

Installation

About

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.

Key Metrics

Version 0.1.1
R ≥ 3.6.0
Published 2023-04-02 392 days ago
Needs compilation? no
License GPL (≥ 3)
CRAN checks blocs results

Downloads

Yesterday 11 0%
Last 7 days 66 -14%
Last 30 days 227 +7%
Last 90 days 629 -17%
Last 365 days 2.550 +107%

Maintainer

Maintainer

Cole Tanigawa-Lau

coletl@stanford.edu

Authors

Justin Grimmer

aut

Will Marble

aut

Cole Tanigawa-Lau

aut / cre

Material

README
NEWS
Reference manual
Package source

macOS

r-release

arm64

r-oldrel

arm64

r-release

x86_64

r-oldrel

x86_64

Windows

r-devel

x86_64

r-release

x86_64

r-oldrel

x86_64

Old Sources

blocs archive

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