Download information on the latest deforestation alerts detected by Geobosque
Source:R/get_early_warning.R
get_early_warning.RdThis 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: Geobosque Platform
Examples
# \donttest{
library(geoidep)
loreto <- get_departaments(show_progress = FALSE) |> subset(nombdep == "LORETO")
warning_point <- get_early_warning(region = loreto, sf = TRUE, show_progress = FALSE)
head(warning_point)
#> Simple feature collection with 6 features and 1 field
#> Geometry type: POINT
#> Dimension: XY
#> Bounding box: xmin: -76.02536 ymin: -2.711665 xmax: -75.99904 ymax: -2.70054
#> Geodetic CRS: WGS 84
#> # A tibble: 6 × 2
#> descrip geometry
#> <chr> <POINT [°]>
#> 1 Warning points (-76.01695 -2.70054)
#> 2 Warning points (-76.02536 -2.706781)
#> 3 Warning points (-76.02455 -2.709223)
#> 4 Warning points (-76.01614 -2.71058)
#> 5 Warning points (-75.99904 -2.711665)
#> 6 Warning points (-76.01641 -2.700811)
# }