Retrieve accepted TSN (with accepted name).

Usage

itis_acceptname(searchtsn = NA)

Arguments

searchtsn
Quoted TSN for a taxonomic group (character).

Value

Names or TSNs of all downstream taxa.

Description

Retrieve accepted TSN (with accepted name).

Details

You can print informative messages by setting supmess=FALSE.

Examples

itis_acceptname(searchtsn='208527') # TSN accepted - good name
[1] "208527"
itis_acceptname(searchtsn='504239') # TSN not accepted - input TSN is old name
submittedTsn acceptedName acceptedTsn 1 504239 Dasiphora fruticosa 836659