get_urban | R Documentation |
A function that extract a time series of the urban area of MODIS Landcover (2001-01-01T00:00:00Z - 2020-01-01T00:00:00)
get_urban(from, to, region, scale = 1000)
to , from |
it's a string object,starting and final date. |
region |
it's a feature or feature collection |
scale |
A nominal scale in meters of the projection to work in. |
a tibble object with the new variable in km2
## Not run:
library(innovar)
library(rgee)
library(sf)
ee_Initialize()
data("Peru")
region <- Peru
region_ee <- pol_as_ee(region, id = 'distr' ,simplify = 1000)
data <- get_urban(from = '2008-01-01', to = '2010-01-01', region = region)
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.