gmba_search_names: Search for mountain range names

View source: R/gmba_search_names.R

gmba_search_namesR Documentation

Search for mountain range names

Description

Search GMBA Inventory v2.0 mountain range names based on parts of names.

Usage

gmba_search_names(part_of_rangename, language = "EN", db = FALSE)

Arguments

part_of_rangename

Character string of part of a mountain range name

language

Character string of a language to select. The options are:

  • "AR" = Arabic / اَلْعَرَبِيَّة

  • "EN" = English (default)

  • "DE" = German / Deutsch

  • "ES" = Spanish / español

  • "FR" = French / français

  • "PT" = Portuguese / português

  • "RU" = Russian / русский

  • "ZH" = Chinese / 中文

Note: Mountain names in a language other than English are not complete but only available for those where Wikidata has a translation available.

db

Logical, indicating if to output a named vector. If TRUE, the translation (language other than English) will be the name of the database name of each mountain range. If FALSE, the translation (language other than English) will be given. The argument is only needed when language is set to other than EN. Default is set to FALSE

Value

Character vector of the GMBA Inventory v2.0 mountain range names associated with the input name part

Examples

## Not run: 
 gmba_search_names("alp")
 gmba_search_names("alp", "DE")
 gmba_search_names("alp", "DE", TRUE)

## End(Not run)

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