Get ITIS terms, i.e., tsn's, authors, common names, and scientific names.

Share:

Description

Get ITIS terms, i.e., tsn's, authors, common names, and scientific names.

Usage

1
terms(query, what = "both", wt = "json", raw = FALSE, ...)

Arguments

query

One or more common or scientific names, or partial names

what

One of both (search common and scientific names), common (search just common names), or scientific (search just scientific names)

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

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
## Not run: 
# Get terms searching both common and scientific names
terms(query='bear')

# Get terms searching just common names
terms(query='tarweed', "common")

# Get terms searching just scientific names
terms(query='Poa annua', "scientific")

# many at once
terms(query=c('Poa annua', 'Pinus contorta'), "scientific")

## End(Not run)

Want to suggest features or report bugs for rdrr.io? Use the GitHub issue tracker.