import_shapefile: Create an sf object from a shapefile

View source: R/io.R

import_shapefileR Documentation

Create an sf object from a shapefile

Description

Create an sf object from a full path to shapefile with file name and extension

Usage

import_shapefile(shp_path, quiet = TRUE, method = "sf")

Arguments

shp_path

character. A full path to the input shapefile with file name and extension

quiet

boolean.

method

tool used to convert to spatial data; either 'sf' or 'rgdal'

Value

sf object

Author(s)

Chris R. Vernon (chris.vernon@pnnl.gov)


JGCRI/rgis documentation built on July 27, 2023, 1:47 p.m.