Description Usage Arguments Details Value Author(s)
Requires that the GADM RDS files or shapefiles exist in a path specified in either the environment variable GISpath or in the function parameter path. Tries to load first the RDS file and secondarily the shp file. If RDS file does not exist, it will convert the shp into RDS and write to disk.
1 | getadm(level = 0, path = Sys.getenv("GISpath"))
|
level |
The level of admin boundaries to load. |
path |
Path to the file |
The required files can be downloaded from https://gadm.org/
SpatialPolygonsDataFrame
Lauri Myllyvirta lauri.myllyvirta@greenpeace.org
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.