get_names: Return 'scientificName' names given taxonomic identifiers

Description Usage Arguments Value Examples

View source: R/get_names.R

Description

Return scientificName names given taxonomic identifiers

Usage

1
2
3
4
5
6
get_names(
  id,
  provider = getOption("tl_default_provider", "itis"),
  version = tl_latest_version(),
  dir = tl_dir()
)

Arguments

id

a character vector of taxonomic identifiers, including provider prefix

provider

Abbreviation for a known naming provider. Provider data should first be imported with [tl_create]. Note: setting provider to "itis_test" is for testing purposes only, use "itis" for the full ITIS data. See details

version

version of the authority to use (e.g. four-digit year)

dir

storage location for the LMDB databases

Value

a vector of matching scientific names

Examples

1
2
 # slow initial import
get_names(c("ITIS:180092", "ITIS:179913"), "itis_test") # uses test version

taxalight documentation built on Sept. 14, 2021, 5:15 p.m.