Gerrymandering project for the 2020-21 STPF R Users AG.
The goal of this project is to create functionality in R to input a set of district boundaries and output metrics about them.
There are lots of metrics to evaluate district boundaries, from statistical, demographic, or purely mathematical perspective. Our first goal of this project is to collect those metrics here.
- Here is an article from the American Mathematical Society about metrics for evaluating district shapes.
- 3 tests of partisan gerrymandering, used by the Princeton Gerrymandering project. Lopsided wins from 538.
- Efficiency gaps by the Upshot at NYT.
- More efficiency gap metrics from the American Mathematical Monthly journal.
- Compactness
Because we are in the DC area, and Virginia happens to have an anti-gerrymmandering amendment on the ballot in 2020 (which passed!), we will start with Virginia data.
redist
package, GitHub repomandeR
package- Metric Geometry and Gerrymandering Group, GitHub organization
- Using the
spatstat
package, website BARD
package, removed from CRAN.
Source: Princeton Gerrymandering Project
- Find other metrics
- Put links here
- Add found PDFs to the repo so others can read and easily access.