Skip to contents

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

if (FALSE) { # \dontrun{
# 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)
} # }