| get_ghsl | R Documentation | 
A function that extract Global Human Settlement Layer data from 1975 to 2030 each 5 years.
get_ghsl(region, scale = 100)
region | 
 region and object sf.  | 
scale | 
 A nominal scale in meters of the projection to work in.  | 
a tibble object with the new variable in km².
## Not run: 
library(tidyverse)
library(rgee)
library(innovar)
library(sf)
ee_Initialize()
# 1. Reading a sf object
data("Peru")
region <- Peru
region_ee <- pol_as_ee(region, id = 'distr' ,simplify = 1000)
# 2. Extracting climate information
data <- region_ee %>% get_ghsl()
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.