gw_identify: Add Areal Unit Identifiers to Point Data

Description Usage Arguments Value

View source: R/identify.R

Description

Apply identifiers from a selection of commonly used areal units to point data stored in a sf object.

Usage

1
gw_identify(.data, to, side = "right", class = "sf")

Arguments

.data

A sf object

to

The string name of an areal unit to aggregate to: "block group", "tract", "precinct", "ward", or "neighborhood".

side

One of either "right" or "left" indicating where the identifier variable should be placed in the

class

One of either "sf" (default) or "tibble".

Value

gw_identify returns either a sf object or tibble with the requested data.


slu-openGIS/gateway documentation built on March 22, 2019, 5:49 p.m.