getpop: Get local human population density

Description Usage Arguments Examples

View source: R/getpop.R

Description

Retrieves a raster file containing the local human population density of Vietnam.

Usage

1
getpop(year = 2009, adjusted = FALSE)

Arguments

year

A numeric reflecting the year to retrieve the data. Could be 2009, 2010, 2015 or 2020. 2009 is incompatible with adjusted = TRUE.

adjusted

A logical indicating whether the data should be adjusted to match UN population divisions estimates. TRUE is incompatible with year = 2009.

Examples

1
2
3
4
popvn_2009 <- getpop()

# Or for 2020 with ajusted value to match UN population divisions estimates :
popvn_a2020 <- getpop(2020, adjusted = TRUE)

choisy/worldpopVN documentation built on July 31, 2019, 2:12 p.m.