gmba_select: Interactively select mountain ranges from the GMBA Inventory...

View source: R/gmba_select.R

gmba_selectR Documentation

Interactively select mountain ranges from the GMBA Inventory v2.0

Description

Interactively filter and select mountain ranges from the GMBA Inventory v2.0. This function can be considered as the Selection Tool implemented in R. Note: This is a function from gmbaR v1, but its usefulness has not been confirmed. Therefore, therefore the function is no longer technically managed.

Usage

gmba_select()

Details

First, you are given four options to filter the inventory. After filtering, you can select all or individual ranges from the filter. A 'stop' as response to each question stops the function from running.

The filter options are:

  1. By mountain range name (English only, for searching mountain range names in other languages please use gmba_search_names( ))

  2. By country, using ISO-3 codes

  3. By IPBES region or subregion, using the "str" method from gmba_ids_from_spi( )

  4. By IPCC AR6 region, using the "str" method from gmba_ids_from_spi( )

Then, the selection options are:

  1. All of the filtered mountain ranges

  2. By number(s), as displayed after the last filter

Finally, the output options are:

  1. An sf object containing the selected mountain ranges

  2. A character vector with the GMBA Inventory v2.0 database names of the selected mountain ranges

  3. A character vector with the GMBA Inventory v2.0 map names of the selected mountain ranges

  4. A character vector with the GMBA Inventory v2.0 IDs of the selected mountain ranges

Value

Depending on the output format selection, see details

Examples

## Not run: 
 gmba_select()

## End(Not run)

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