itis_getrecord: Get full ITIS record for one or more ITIS TSN's or lsid's.

View source: R/itis_getrecord.R

itis_getrecordR Documentation

Get full ITIS record for one or more ITIS TSN's or lsid's.

Description

Get full ITIS record for one or more ITIS TSN's or lsid's.

Usage

itis_getrecord(values, by = "tsn", ...)

Arguments

values

(character) One or more TSN's (taxonomic serial number) or lsid's for a taxonomic group

by

(character) By "tsn" (default) or "lsid"

...

Further arguments passed on to ritis::full_record

Details

You can only enter values in tsn parameter or lsid, not both.

Examples

## Not run: 
# by TSN
itis_getrecord(202385)
itis_getrecord(c(202385,70340))

# by lsid
itis_getrecord("urn:lsid:itis.gov:itis_tsn:202385", "lsid")

## End(Not run)

taxize documentation built on Sept. 11, 2024, 6:13 p.m.