gmba_ids_from_area: Get mountain range IDs from area

View source: R/gmba_ids_from_area.R

gmba_ids_from_areaR Documentation

Get mountain range IDs from area

Description

Get GMBA Inventory v2.0 mountain range IDs of mountain ranges that have a certain size in area

Usage

gmba_ids_from_area(area, calc, range_selection = "all", manual = NULL)

Arguments

area

Numeric, threshold value of area in size, given in km^2

calc

Character string, should the area be taken as "max"imum or "min"imum?

range_selection

Character string, the options are:

  • "all" = all level ranges, cross-scale (returns lists of ids!) (default)

  • "basic" = basic mountain ranges only

  • "300" = ranges included in the 300 pre-selection

  • "100" = ranges included in the 100 pre-selection

  • "level1"-"level10" = ranges pertaining to the respective level of the inventory hierarchy

  • "manual" = range IDs provided with manual

manual

Character string containing the IDs of manually selected mountain ranges. Only needed when range_selection is set to manual. Default is set to NULL

Value

Character vector of the GMBA Inventory v2.0 mountain range IDs having a smaller or bigger size in area as submitted

Examples

## Not run: 
rangeids <- gmba_ids_from_area(5000, "max")
rangeids <- gmba_ids_from_area(5000, "min")

## End(Not run)

GMBA-biodiversity/gmbaR documentation built on Feb. 13, 2025, 8:44 a.m.