prep_perims {redistmetrics}R Documentation

Prep Polsby Popper Perimeter Tibble

Description

Replaces redist.prep.polsbypopper

Usage

prep_perims(shp, epsg = 3857, perim_path, ncores = 1)

Arguments

shp

A redist_map object, tibble, or data frame with an sf geometry column.

epsg

Numeric EPSG code to use to project the shapefile, if needed. Default is 3857.

perim_path

A path to save an rds

ncores

Integer number of cores to use. Default is 1.

Value

tibble of perimeters and lengths

Examples

data(nh)
prep_perims(nh)


[Package redistmetrics version 1.0.7 Index]