ipbes_biome_stats: Calculate areal statistics for IBPES Biomes

ipbes_biome_statsR Documentation

Calculate areal statistics for IBPES Biomes

Description

This indicator calculates the areal distribution of different biome classes within an asset based on the IBPES biomes dataset.

Usage

calc_ipbes_biomes()

Details

The required resources for this indicator are:

  • ipbes_biomes

Value

A function that returns an indicator tibble with the biome class as variable and the respective area (in ha) as value.

Examples


## 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)

mapme-initiative/mapme.biodiversity documentation built on April 5, 2025, 12:47 p.m.