getlandcover: Proportions of provinces per landcover

Description Usage Arguments Value Note Author(s) Examples

View source: R/getlandcover.R

Description

Generates a provinces map of Vietnam for a given date with proportions of each land cover category as attributes.

Usage

1
getlandcover(date = "2015-01-01", merge_hanoi = FALSE)

Arguments

date

either text in the "YYYY-MM-DD" format (for example "2015-01-17" for the 17th of January 2017), or a numeric format of the year (for example 2015). By default "2015-01-01".

merge_hanoi

boolean indicating whether the provinces of Ha Noi and Ha Son Binh (or Ha Noi and Ha Tay) should be merged.

Value

An object of class "SpatialPolygonsDataFrame".

Note

argument merge_hanoi makes a difference only for date before 2008-01-01.

Author(s)

Marc Choisy

Examples

1
2
3
4
5
6
# with the province definition of 2015:
prov15_landcover <- getlandcover()

# with the province definition of 1980 with the provinces of Ha Noi and Ha
# Son Binh merged:
prov80_landcover <- getlandcover(1980, TRUE)

choisy/globcoverVN documentation built on Aug. 22, 2019, 12:42 a.m.