Identifies neighboring precincts along a district boundary and displays them as adjacent pairs, with one row per pair of neighboring precincts from different districts.
Arguments
- map
A
redist_maporsfobject.- plan
Column in
mapor vector of district assignments.- seam
Pair of districts in
planto focus on.- columns
columns in
mapto display in the output- adj_col
Name of column in
mapthat contains adjacency information.- as_gt
Logical. Should output be a
gttable? Default:TRUE.
Value
a gt::gt_tbl if as_gt = TRUE, otherwise a tibble::tibble
Examples
rict_boundary(map = wv, plan = wv$cd_2020, seam = c(1, 2), columns = pop)
District
Precinct
pop
pop
Precinct
District
