Functions for approximating values at different levels of geography
geo_estimate_down()
Estimate Down Geography Levels
estimate_down()
Estimate Down Levels
geo_estimate_up()
Estimate Up Geography Levels
estimate_up()
Estimate Up Levels
geo_match()
Match Across Geographic Layers
Functions to help build and refine data
create_block_table()
Create Block Level Data
create_tract_table()
Create Tract Level Data
block2prec()
Aggregate Block Table by Matches
block2prec_by_county()
Aggregate Block Table by Matches and County
geo_filter()
Filter to Intersecting Pieces
geo_trim()
Trim Away Small Pieces
Functions to help pretend that the geographies were properly connected
check_contiguity()
Check Contiguity by group
add_edge()
Add Edges to an Adjacency List
compare_adjacencies()
Compare Adajacency Lists
geo_plot_group()
Create Plots of Shapes by Group with Connected Components Colored
geo_sort()
Sort Precincts
suggest_component_connection()
Suggest Connections for Disconnected Groups
suggest_neighbors()
Suggest Neighbors for Lonely Precincts
Functions to measure local and global autocorrelation measures
global_geary()
Compute Global Geary's C
global_morans()
Compute Global Moran's I
gstar_i()
Compute Standardized Getis Ord G*i
local_gearys()
Compute Local Geary's C
local_morans()
Compute Local Moran's I
checkerboard
Checkerboard
checkerboard_adj
Checkerboard Adjacency
towns
va18sub
Functions that don’t really fit elsewhere
st_centerish()
Get the kind of center of each shape
count_connections()
Count Times Precincts are Connected
geomander-package
Geographic Tools for Studying Gerrymandering