sp shapefile to an sf shapefile object with
a given crs coordinate reference system. The column names are
converted to lowercase and non-trailing spaces replaced with underscores
via the janitor::clean_names functionR/etl-utils.R
sp_transform_sf.RdTransform sp shapefile to an sf shapefile object with
a given crs coordinate reference system. The column names are
converted to lowercase and non-trailing spaces replaced with underscores
via the janitor::clean_names function
sp_transform_sf(sp, crs = 4326)
| sp | (sp) : The spatial polygon |
|---|---|
| crs | (sf) : The Coordinate Reference System (CRS) system with default value of 4326 |
(sf) : The sf converted object