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: https://geobosques.minam.gob.pe
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: -78.11332 ymin: -4.87162 xmax: -78.06041 ymax: -4.869992
#> Geodetic CRS: WGS 84
#> # A tibble: 6 × 2
#> descrip geometry
#> <chr> <POINT [°]>
#> 1 Warning points (-78.06068 -4.869992)
#> 2 Warning points (-78.06041 -4.869992)
#> 3 Warning points (-78.11332 -4.870535)
#> 4 Warning points (-78.06339 -4.870806)
#> 5 Warning points (-78.0927 -4.87162)
#> 6 Warning points (-78.09243 -4.87162)
# }