R: Get TSN from LSID

itis_lsid {taxize} | R Documentation

## 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 `lsid2tsn`, `record`, or `full_record`

### Examples

    ## Not run:
    # 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)

    ## End(Not run)

[Package taxize version 0.9.0 Index]