getGADM {ecochange} | R Documentation |
Get Geographic Adminitrative Unit
Description
This function can retrieve Geographic Administrative Data Maps
(GADM
).
Usage
getGADM(unit.nm = NULL,
level = 2, country = "COL",
ext = "json", path = tempdir())
Arguments
unit.nm |
|
level |
|
country |
|
ext |
|
path |
|
Value
SpatialPolygonsDataFrame
or character
vector of
GADM
units..
Author(s)
Wilson Lara Henao <wilarhen@gmail.com> [aut, cre] (<https://orcid.org/0000-0003-3527-1380>), Victor Gutierrez-Velez [aut] (<https://orcid.org/0000-0003-1338-2020>), Ivan Gonzalez [ctb] (<https://orcid.org/0000-0002-0313-398X>), Maria C. Londono [ctb] (<https://orcid.org/0000-0002-2317-5503>)
References
Examples
## Printing municipalities of Colombia:
muni <- getGADM(NA)
head(muni)