Estimating Across Geographic LevelsFunctions for approximating values at different levels of geography |
|
---|---|
Estimate Down Levels |
|
Estimate Up Levels |
|
Estimate Down Geography Levels |
|
Estimate Up Geography Levels |
|
Match Across Geographic Layers |
|
Buiding DatasetsFunctions to help build and refine data |
|
Aggregate Block Table by Matches |
|
Aggregate Block Table by Matches and County |
|
Create Block Level Data |
|
Create Tract Level Data |
|
Filter to Intersecting Pieces |
|
Trim Away Small Pieces |
|
Downloading DatasetsFunctions to help download common datasets |
|
List Available States from ALARM Data |
|
Clean VEST Names |
|
Get ALARM Dataset |
|
Get Dave's Redistricting App Dataset |
|
Get Harvard Election Data Archive ("HEDA") Dataset |
|
Get Voting and Election Science Team ("VEST") Dataset |
|
List Available States from HEDA Dataverse |
|
List Available States from VEST Dataverse |
|
Fixing Geographic ImperfectionsFunctions to help pretend that the geographies were properly connected |
|
Add Edges to an Adjacency List |
|
Build Adjacency List |
|
Check Contiguity by Group |
|
Check Polygon Contiguity |
|
Compare Adjacency Lists |
|
Sort Precincts |
|
Split a Precinct |
|
Subtract Edges from an Adjacency List |
|
Suggest Connections for Disconnected Groups |
|
Suggest Neighbors for Lonely Precincts |
|
Format Data with Dave’s RedistrictingFunctions to get maps into DRA or from DRA |
|
DRA to R |
|
R to DRA |
|
Center of ShapeAdjusted centroids to ensure that the point is in the shape |
|
Get the kind of center of each shape |
|
Get the centroid of the maximum inscribed circle |
|
Get the kind of center of each shape |
|
Get the centroid of the maximum inscribed circle |
|
Tools for working with bordersFunctions that deal with two sides of a seam between two administrative units |
|
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 |
|
Spatial AutocorrelationFunctions to measure local and global autocorrelation measures |
|
Compute Global Geary's C |
|
Compute Global Moran's I |
|
Compute Standardized Getis Ord G*i |
|
Compute Local Geary's C |
|
Compute Local Moran's I |
|
Included Example Data |
|
Checkerboard |
|
Checkerboard Adjacency |
|
nrcsd |
|
orange |
|
precincts |
|
rockland |
|
towns |
|
va18sub |
|
va_blocks |
|
va_vtd |
|
Plotting Functions |
|
Plots a Shape with Row Numbers as Text |
|
Create Plots of Shapes by Group with Connected Components Colored |
|
LeftoversFunctions that don’t really fit elsewhere |
|
Geographic Tools for Studying Gerrymandering |
|
Estimate Plans from a Block Assignment File to Voting Districts |
|
Count Times Precincts are Connected |
|
Get historical United States Congressional District Shapefiles |
|
Get Racially Polarized Voting Dataset from RPV Near Me |
|
Estimate Regions by Geographic Features |