redistio
provides a point-and-click districting interface powered by
Shiny and Leaflet.
For regular sf
objects, it can be used to draw districts and export
assignment files. For redist_map
objects, algorithmic assistance is
enabled for map drawing.
You can install the development version of redistio
from
GitHub with:
pak::pkg_install('christopherkenny/redistio')
The most basic application of redistio
starts with an sf
tibble and
a column of district assignments.
library(redistio)
draw(dc, dc$ward)