Download information on the latest deforestation alerts detected by Geobosque
Source:R/get_early_warning.R
get_early_warning.Rd
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: Geobosque Platform
Examples
# \donttest{
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)
#> Simple feature collection with 6 features and 1 field
#> Geometry type: POINT
#> Dimension: XY
#> Bounding box: xmin: -77.79937 ymin: -4.701213 xmax: -77.79801 ymax: -4.700941
#> Geodetic CRS: WGS 84
#> # A tibble: 6 × 2
#> descrip geometry
#> <chr> <POINT [°]>
#> 1 Warning points (-77.7991 -4.700941)
#> 2 Warning points (-77.79883 -4.700941)
#> 3 Warning points (-77.79856 -4.700941)
#> 4 Warning points (-77.79829 -4.700941)
#> 5 Warning points (-77.79801 -4.700941)
#> 6 Warning points (-77.79937 -4.701213)
# }