Description Usage Arguments Value Note Author(s) Examples
Generates a provinces map of Vietnam for a given date with proportions of each land cover category as attributes.
1 | getlandcover(date = "2015-01-01", merge_hanoi = FALSE)
|
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. |
An object of class "SpatialPolygonsDataFrame".
argument merge_hanoi
makes a difference only for date
before 2008-01-01.
Marc Choisy
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)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.