getGADM {ecochange} | R Documentation |
Get Geographic Adminitrative Unit
Description
This function is a wrapper of gadm
that helps users
to retrieve Geographic Administrative Data Maps (GADM
).
Usage
getGADM(unit.nm = NULL,
level = 2, country = "COL",
path = tempdir())
Arguments
unit.nm |
|
level |
|
country |
|
path |
|
Value
SpatialPolygonsDataFrame
or character
vector of
GADM
units..
Author(s)
Wilson Lara Henao <wilarhen@gmail.com> [aut, cre], Victor Gutierrez-Velez [aut], Ivan Gonzalez [ctb], Maria C. Londono [ctb]
References
Examples
## Printing municipalities of Colombia:
muni <- getGADM(NA)
head(muni)