Geographic Tools for Studying Gerrymandering
Add Edges to an Adjacency List
Build Adjacency List
List Available States from ALARM Data
Estimate Plans from a Block Assignment File to Voting Districts
Aggregate Block Table by Matches
Aggregate Block Table by Matches and County
Check Contiguity by Group
Check Polygon Contiguity
Clean VEST Names
Compare Adjacency Lists
Count Times Precincts are Connected
Create Block Level Data
Create Tract Level Data
DRA to R
Estimate Down Levels
Estimate Up Levels
Estimate Down Geography Levels
Estimate Up Geography Levels
Filter to Intersecting Pieces
Match Across Geographic Layers
Plots a Shape with Row Numbers as Text
Create Plots of Shapes by Group with Connected Components Colored
Sort Precincts
Trim Away Small Pieces
tools:::Rd_package_title("geomander")
Get the kind of center of each shape
Get the centroid of the maximum inscribed circle
Get ALARM Dataset
Get Dave's Redistricting App Dataset
Get Harvard Election Data Archive ("HEDA") Dataset
Get historical United States Congressional District Shapefiles
Get Racially Polarized Voting Dataset from RPV Near Me
Get Voting and Election Science Team ("VEST") Dataset
Compute Global Geary's C
Compute Global Moran's I
Compute Standardized Getis Ord G*i
Vest DOIs
HEDA Parties
List Available States from HEDA Dataverse
Compute Local Geary's C
Compute Local Moran's I
Pipe operator
R to DRA
Estimate Regions by Geographic Features
Filter Adjacency to Edges Along Border
Filter Shape to Geographies Along Border
Remove Edges along a Boundary
Suggest Edges to Connect Two Sides of a Border
Split a Precinct
Get the kind of center of each shape
Get the centroid of the maximum inscribed circle
Subtract Edges from an Adjacency List
Suggest Connections for Disconnected Groups
Suggest Neighbors for Lonely Precincts
VEST Abbreviations
VEST DOIs
VEST Parties
List Available States from VEST Dataverse
A compilation of tools to complete common tasks for studying gerrymandering. This focuses on the geographic tool side of common problems, such as linking different levels of spatial units or estimating how to break up units. Functions exist for creating redistricting-focused data for the US.
Useful links