Learn R Programming

taxize (version 0.4.0)

getacceptednamesfromtsn: Get accepted names from tsn

Description

Get accepted names from tsn

Usage

getacceptednamesfromtsn(tsn = NA, curlopts = list(),
  curl = getCurlHandle(), verbose = TRUE)

Arguments

verbose
Verbosity or not (default TRUE)
tsn
TSN for a taxonomic group (numeric)
curlopts
optional additional curl options (debugging tools mostly)
curl
If using in a loop, call getCurlHandle() first and pass the returned value in here (avoids unnecessary footprint)

Examples

Run this code
# TSN accepted - good name
getacceptednamesfromtsn('208527')

# TSN not accepted - input TSN is old name
getacceptednamesfromtsn(tsn='504239')

# TSN not accepted - input TSN is old name
getacceptednamesfromtsn('504239', FALSE)

Run the code above in your browser using DataLab