clean_shape: Clean sf data objects

View source: R/clean_shape.R

clean_shapeR Documentation

Clean sf data objects

Description

This function uses janitor::clean_names() to standardize headers and sets crs to wgs84 by default. Data must already by in sf format.

Usage

clean_shape(.data, .crs = wgs84)

Arguments

.data

spatial sf data object

.crs

st_crs formatted projection; defaults to wgs84

Examples

tx_counties <- clean_shape(tx_counties)

januaryadvisors/jaspatial documentation built on Sept. 3, 2023, 4:22 p.m.