Learn R Programming

taxize (version 0.9.100.1)

itis_lsid: Get TSN from LSID

Description

Get TSN from LSID

Usage

itis_lsid(lsid = NULL, what = "tsn", ...)

Arguments

lsid

One or more lsid's

what

What to retrieve. One of tsn, record, or fullrecord

...

Further arguments passed on to ritis::lsid2tsn(), ritis::record(), or ritis::full_record()

Examples

Run this code
if (FALSE) {
# Get TSN
itis_lsid("urn:lsid:itis.gov:itis_tsn:180543")
itis_lsid(lsid=c("urn:lsid:itis.gov:itis_tsn:180543","urn:lsid:itis.gov:itis_tsn:28726"))

# Get partial record
itis_lsid("urn:lsid:itis.gov:itis_tsn:180543", "record")

# Get full record
itis_lsid("urn:lsid:itis.gov:itis_tsn:180543", "fullrecord")

# An invalid lsid (a tsn actually)
itis_lsid(202385)
}

Run the code above in your browser using DataLab