Calculate areal statistics for IBPES Biomes
This indicator calculates the areal distribution of different biome classes within an asset based on the IBPES biomes dataset.
calc_ipbes_biomes()
A function that returns an indicator tibble with the biome class as variable and the respective area (in ha) as value.
The required resources for this indicator are:
## Not run: library(sf) library(mapme.biodiversity) outdir <- file.path(tempdir(), "mapme-data") dir.create(outdir, showWarnings = FALSE) mapme_options( outdir = outdir, verbose = FALSE ) aoi <- system.file("extdata", "shell_beach_protected_area_41057_B.gpkg", package = "mapme.biodiversity" ) %>% read_sf() %>% get_resources(get_ipbes_biomes()) %>% calc_indicators(calc_ipbes_biomes()) %>% portfolio_long() aoi ## End(Not run)
Useful links