pullback: Pull back plans to unmerged units

View source: R/tidy.R

pullbackR Documentation

Pull back plans to unmerged units

Description

Merging map units through merge_by or summarize changes the indexing of each unit. Use this function to take a set of redistricting plans from a redist algorithm and re-index them to be compatible with the original set of units.

Usage

pullback(plans, map = NULL)

Arguments

plans

a redist_plans object

map

optionally, a redist_map object, which will be used to set the new population vector

Value

a new, re-indexed, redist_plans object


redist documentation built on June 16, 2022, 9:05 a.m.