Description Usage Arguments Value Examples
Search for the admLevel by official name. Expects the shapefile to already exist.
1 2 3 4 5 6 7 8 9 | searchAdmLevel(
ctryCodes = NULL,
admLevelNames,
dnldPoly = TRUE,
downloadMethod = pkgOptions("downloadMethod"),
gadmVersion = pkgOptions("gadmVersion"),
gadmPolyType = pkgOptions("gadmPolyType"),
custPolyPath = NULL
)
|
ctryCodes |
|
admLevelNames |
|
dnldPoly |
|
downloadMethod |
The method used to download polygons |
gadmVersion |
The GADM version to use |
gadmPolyType |
The format of polygons to download from GADM |
custPolyPath |
Alternative to GADM. A path to a custom shapefile zip |
character vector of admin level names
1 2 3 4 5 | ## Not run:
searchAdmLevel("KEN", "county")
#returns "KEN_adm1"
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.