sp_transform_sf: Transform 'sp' shapefile to an 'sf' shapefile object with a...

Description Usage Arguments Value

Description

Transform 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

Usage

1
sp_transform_sf(sp, crs = 4326)

Arguments

sp

(sp) : The spatial polygon sp object which you want to transform into an sf object

crs

(sf) : The Coordinate Reference System (CRS) system with default value of 4326

Value

(sf) : The sf converted object


shamindras/backburner documentation built on Feb. 28, 2021, 12:20 a.m.