get_early_warning {geoidep} | R Documentation |
This function allows you to download deforestation alert information detected by Geobosque for any polygon located in Peru. For more details, please visit the following website: https://geobosques.minam.gob.pe
get_early_warning(region, sf = TRUE, show_progress = TRUE)
region |
A string Specifies the unique geographical code of interest. |
sf |
Logical. Indicates whether to return the data as an 'sf' object. |
show_progress |
Logical. If TRUE, shows a progress bar during download. |
A tibble or sf object, depending on the value of 'sf'.
library(geoidep)
amazonas <- get_departaments(show_progress = FALSE) |> subset(NOMBDEP == "AMAZONAS")
warning_point <- get_early_warning(region = amazonas, sf = TRUE, show_progress = FALSE)
head(warning_point)