taxize (version 0.1.5)

gettsnfromlsid: Gets the TSN corresponding to the LSID, or an empty result if there is no match.

Description

Gets the TSN corresponding to the LSID, or an empty result if there is no match.

Usage

gettsnfromlsid(lsid = NA, ..., curl = getCurlHandle())

Arguments

lsid
lsid for a taxonomic group (numeric)
...
optional additional curl options (debugging tools mostly)
curl
If using in a loop, call getCurlHandle() first and pass the returned value in here (avoids unnecessary footprint)

Examples

Run this code
gettsnfromlsid(lsid = "urn:lsid:itis.gov:itis_tsn:28726")
gettsnfromlsid(lsid = "urn:lsid:itis.gov:itis_tsn:0")

Run the code above in your browser using DataLab