Uses zip::zip_list() to find .shp members, then reads each with sf::read_sf() on a /vsizip/... path. Multiple shapefiles become one row each (list-column data), so differing CRS are not merged.

read_sf_zip(path, quiet = TRUE, ...)

Arguments

path

Path to a .zip file.

quiet

Passed to sf::read_sf().

...

Additional arguments passed to sf::read_sf().

Value

A tibble with fpath (the /vsizip/... dsn), file_type, metadata from sf::st_layers(), and data (list-column of sf). See read_gdb().

Examples

if (FALSE) { # \dontrun{
read_sf_zip("path/to/data.zip")
} # }