Description Usage Arguments Value Examples
Get geopackage format map of a specific country from GADM.
1 | get_geopackage(country, version = "gadm3.6", layer)
|
country |
Three-letter ISO country code. Corresponding three-letter ISO
code for each country can be found in the |
version |
A character vector specifying the GADM version from which to
get the geopackage download from. Default is |
layer |
A numeric value specifying which layer from geopackage to get. A layer corresponds to the different administrative units of the specific country where 0 is country-level, 1 is the first administrative level (usually region, state, province), 2 is the second administrative level (usually district, locality, municipality) and so on and so forth. |
SpatialPolygonsDataFrame of the specified country map layer.
1 | get_geopackage(country = "AFG", layer = 0)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.