| read_sf_zip | R Documentation |
/vsizip/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, ...)
path |
Path to a |
quiet |
Passed to |
... |
Additional arguments passed to |
A tibble with fpath (the /vsizip/... dsn), file_type, metadata
from sf::st_layers(), and data (list-column of sf). See read_gdb().
z <- system.file("extdata", "misc_example.zip", package = "misc")
if (nzchar(z) && file.exists(z)) read_sf_zip(z)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.