listShp | R Documentation |
listShp
lists all administrative units for which shapefiles are stored on the MAP geoserver.
listShp(printed = TRUE, admin_level = c("admin0", "admin1"), version = NULL)
printed |
Should the list be printed to the console? |
admin_level |
Specifies which administrative unit level for which to return available polygon shapefiles. A string vector including one or more of |
version |
The admin unit dataset version to return. Is NULL by default, and if left NULL will just use the most recent version of admin unit data. |
listShp
returns a data.frame detailing the administrative units for which shapefiles are stored on the MAP geoserver.
## Not run:
available_admin_units <- listShp()
available_admin_units <- listShp(admin_level = c('admin2','admin3'), version = '202206')
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.