record: Gets a record from an LSID

Description Usage Arguments Details Value Examples

Description

Gets a record from an LSID

Usage

1
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 GET

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

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

## End(Not run)


Search within the ritis package
Search all R packages, documentation and source code

Questions? Problems? Suggestions? or email at ian@mutexlabs.com.

Please suggest features or report bugs with the GitHub issue tracker.

All documentation is copyright its authors; we didn't write any of that.