redist

Simulation Methods for Legislative Redistricting

CRAN Package

Enables researchers to sample redistricting plans from a pre-specified target distribution using Sequential Monte Carlo and Markov Chain Monte Carlo algorithms. The package allows for the implementation of various constraints in the redistricting process such as geographic compactness and population parity requirements. Tools for analysis such as computation of various summary statistics and plotting functionality are also included. The package implements the SMC algorithm of McCartan and Imai (2023) doi:10.1214/23-AOAS1763, the enumeration algorithm of Fifield, Imai, Kawahara, and Kenny (2020) doi:10.1080/2330443X.2020.1791773, the Flip MCMC algorithm of Fifield, Higgins, Imai and Tarr (2020) doi:10.1080/10618600.2020.1739532, the Merge-split/Recombination algorithms of Carter et al. (2019) doi:10.48550/arXiv.1911.01503 and DeFord et al. (2021) doi:10.1162/99608f92.eb30390f, and the Short-burst optimization algorithm of Cannon et al. (2020) doi:10.48550/arXiv.2011.02288.


Documentation


Team


Insights

Last 30 days

This package has been downloaded 373 times in the last 30 days. Now we're getting somewhere! Enough downloads to populate a lively group chat. The following heatmap shows the distribution of downloads per day. Yesterday, it was downloaded 6 times.

Sun
Mon
Tue
Wed
Thu
Fri
Sat
0 downloadsMar 2, 2025
0 downloadsMar 3, 2025
7 downloadsMar 4, 2025
44 downloadsMar 5, 2025
4 downloadsMar 6, 2025
5 downloadsMar 7, 2025
3 downloadsMar 8, 2025
1 downloadsMar 9, 2025
16 downloadsMar 10, 2025
13 downloadsMar 11, 2025
8 downloadsMar 12, 2025
4 downloadsMar 13, 2025
2 downloadsMar 14, 2025
39 downloadsMar 15, 2025
2 downloadsMar 16, 2025
1 downloadsMar 17, 2025
25 downloadsMar 18, 2025
20 downloadsMar 19, 2025
20 downloadsMar 20, 2025
32 downloadsMar 21, 2025
18 downloadsMar 22, 2025
3 downloadsMar 23, 2025
5 downloadsMar 24, 2025
9 downloadsMar 25, 2025
2 downloadsMar 26, 2025
7 downloadsMar 27, 2025
44 downloadsMar 28, 2025
9 downloadsMar 29, 2025
5 downloadsMar 30, 2025
6 downloadsMar 31, 2025
13 downloadsApr 1, 2025
6 downloadsApr 2, 2025
0 downloadsApr 3, 2025
0 downloadsApr 4, 2025
0 downloadsApr 5, 2025
1
44

The following line graph shows the downloads per day. You can hover over the graph to see the exact number of downloads per day.

Last 365 days

This package has been downloaded 4,743 times in the last 365 days. That's enough downloads to impress a room full of undergrads. A commendable achievement indeed. The day with the most downloads was Feb 20, 2025 with 71 downloads.

The following line graph shows the downloads per day. You can hover over the graph to see the exact number of downloads per day.

Data provided by CRAN


Binaries


Dependencies

  • Depends1 package
  • Imports15 packages
  • Suggests12 packages
  • Linking To5 packages
  • Reverse Imports2 packages
  • Reverse Suggests2 packages