get_names {taxalight}R Documentation

Return scientificName names given taxonomic identifiers

Description

Return scientificName names given taxonomic identifiers

Usage

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


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




[Package taxalight version 0.1.5 Index]