load_shp: Import ESRI Shapefile or GeoJSON as sf object.

Description Usage Arguments

View source: R/Map_Functions.R

Description

Creates a Simple Feature (sf) object from full path string to ESRI Shapefile or GeoJSON file. User defines which field is supposed to represent the ID for the data.

Usage

1
load_shp(file_pth)

Arguments

file_pth

Full path to shapefile with extention (.shp). Shapefiles must contain at least .shp, .shx, and .dbf file to function properly.


JGCRI/gcammaptools documentation built on May 4, 2018, 8 a.m.