ipbes_biome_stats | R Documentation |
This indicator calculates the areal distribution of different biome classes within an asset based on the IBPES biomes dataset.
calc_ipbes_biomes()
The required resources for this indicator are:
ipbes_biomes
A function that returns an indicator tibble with the biome class as variable and the respective area (in ha) as value.
## 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)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.