View source: R/tract-lvl-divM-fcns.R
gen.cross.tract.dividedness | R Documentation |
Given a large region: Place, CZ, CBSA, etc., and a division object, represented by
an sf
object with only linear features, allocate each neighborhood, defined as
tracts or block groups, to a side of the division within the area.
gen.cross.tract.dividedness(
region,
divs,
nbd.query.fcn = tigris::tracts,
region.id.colm = "rid",
fill.nhpn.gaps = F,
erase.water = F,
year = 2019,
...
)
nbd.query.fcn |
i.e., tracts or block_groups; passed onto
|
region.id.colm |
identifer column for supplied region |
... |
Arguments passed on to
|
cutout.water |
wheter or not to cut out water areas before getting dividedness. |
a data.frame with one row per census tract in the supplied region, with a geoid column and a poly.id column indicating which "polygon division" each tract is in. Tracts with different identifiers in this column are across a division from one another.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.