Skip to contents

read zipped .zip that may contain a geodatabase file or .shp file etc.

Usage

shapefile_from_zip(path, cleanit = TRUE, crs = 4269, layer = NULL, ...)

Arguments

path

path and filename for .zip file

cleanit

optional, whether to use shapefile_clean()

crs

passed to shapefile_from_filepaths() etc. and default is crs = 4269 or Geodetic CRS NAD83

layer

optional layer name passed to sf::st_read()

...

passed to sf::st_read()

Value

like output of sf::st_read()