read_zip_shapefile | R Documentation |
Read a shapefile 'sf' from a pid that points to the zipped directory of the shapefile and associated files on a given member node.
read_zip_shapefile(mn, pid)
mn |
(MNode) A DataOne Member Node |
pid |
(character) An object identifier |
shapefile (sf) The shapefile as an sf
object
Jeanette Clark jclark@nceas.ucsb.edu
## Not run:
cn <- dataone::CNode('PROD')
adc <- dataone::getMNode(cn,'urn:node:ARCTIC')
pid <- "urn:uuid:294a365f-c0d1-4cc3-a508-2e16260aa70c"
shapefile <- read_zip_shapefile(adc, pid)
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.