Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

record

Gets a record from an LSID


Description

Gets a record from an LSID

Usage

record(lsid, wt = "json", raw = FALSE, ...)

Arguments

lsid

lsid for a taxonomic group (character). Required.

wt

(character) One of "json" or "xml". Required.

raw

(logical) Return raw JSON or XML as character string. Required. Default: FALSE

...

curl options passed on to crul::HttpClient

Details

Gets the partial ITIS record for the TSN in the LSID, found by comparing the TSN in the search key to the TSN field. Returns an empty result set if there is no match or the TSN is invalid.

Value

a data.frame

Examples

## Not run: 
record(lsid = "urn:lsid:itis.gov:itis_tsn:180543")

## End(Not run)

ritis

Integrated Taxonomic Information System Client

v1.0.0
MIT + file LICENSE
Authors
Scott Chamberlain [aut, cre] (<https://orcid.org/0000-0003-1444-9135>), rOpenSci [fnd] (https://ropensci.org/)
Initial release

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.