<!-- badges: start -->

[![R-CMD-check](https://github.com/coletl/blocs/workflows/R-CMD-check/badge.svg)](https://github.com/coletl/blocs/actions)

<!-- badges: end -->

# blocs: Estimate and Visualize Voting Blocs' Partisan Contributions

This package provides several functions to analyze voting blocs in U.S. elections, implementing the methods described in [Grimmer, Marble, and Tanigawa-Lau (2023)](https://osf.io/c9fkg/).

## Installation

The blocs package is available to install from CRAN:
``` r
install.packages("blocs")
```

You may also install the development version from GitHub:
``` r
# install.packages("devtools")
devtools::install_github("coletl/blocs", dependencies = TRUE)
```
