coords_df: Construct a tibble of centroid coordinates from an sf...

Description Usage Arguments

Description

Construct a tibble of centroid coordinates from an sf data.frame containing polygons in its geometry column.

Usage

1
coords_df(tracts, km = FALSE, ...)

Arguments

tracts

the sf data.frame whose coordinates we wish to compute.

km

boolean should the centroids be converted so that the euclidean distances between them are approximately measurable in km?


PhilChodrow/compx documentation built on May 8, 2019, 1:34 a.m.