terms {ritis} | R Documentation |
Get ITIS terms, i.e., tsn's, authors, common names, and scientific names
Description
Get ITIS terms, i.e., tsn's, authors, common names, and scientific names
Usage
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: |
... |
curl options passed on to crul::HttpClient |
Examples
## 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)
[Package ritis version 1.0.0 Index]