read_shp: Read a layer from a shapefile

read_shpR Documentation

Read a layer from a shapefile

Description

Read a layer from a shapefile

Usage

read_shp(
  dsn = ".",
  layer = NULL,
  crs = NULL,
  ...,
  verbose = getOption("verbose")
)

Arguments

dsn

(character) path to folder or ZIP file

layer

(character) layer to extract

crs

(optional) passed to sf::st_transform()

...

passed to sf::read_sf()

verbose

(logical)

Value

an sf object


BAAQMD/shptools documentation built on March 13, 2023, 6:54 a.m.