Description Usage Arguments Value Examples
View source: R/unzipShapefiles.R
Unzips compressed files containing ESRI shapefiles from the 'data-raw' folder of the OFPEDATA package. Takes a zipped file name and path to data and checks if there are any shapefiles in the zipped object and if so, returns a 'sf' object.
1 | unzipShapefiles(zip_file, path)
|
zip_file |
Character, the name of the zipped file to extract. |
path |
Character, path to the folder with the data. |
A shapefile of class 'sf'.
1 2 3 4 | ## Not run:
unzipShapefiles("zipped_data_filename", "path/to/data")
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.