getGADM: Get Geographic Adminitrative Unit

Description Usage Arguments Value Author(s) References Examples

Description

This function is a wrapper of getData used to import levels in Geographic Administrative Units (GADM).

Usage

1
getGADM(unit.nm = NULL, level = 2, country = "COL")

Arguments

unit.nm

character or NULL. A name in the administrative units (e.g. municipalities), or the name of the unit plus its corresponding higher-level unit (e.g. department/state). If NULL then a list of unit names corresponding to 'level' is printed.

level

numeric. A number between zero and two, indicating any of the levels of administrative subdivisions in GADM: 0=country, 1=first level of subdivision, and 2=second level of subdivision).

country

character. ISO code specifying a country. Default 'COL'

Value

List of rasters.

Author(s)

Wilson Lara <[email protected]>, Victor Gutierrez-Velez <[email protected]>

References

https://gadm.org/

Examples

1
2
3
4
5
## Printing municipalities of Colombia:    
 
     muni <- getGADM()
     head(muni)
 

forestChange documentation built on Feb. 20, 2019, 1:05 a.m.