Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

kingdoms

Get kingdom names from tsn


Description

Get kingdom names from tsn

Usage

kingdom_name(tsn, wt = "json", raw = FALSE, ...)

kingdom_names(wt = "json", raw = FALSE, ...)

Arguments

tsn

TSN for a taxonomic group (numeric). Required.

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 crul::HttpClient

Details

  • kingdom_name: Get kingdom name for a TSN

  • kingdom_names: Get all possible kingdom names

Examples

## Not run: 
kingdom_name(202385)
kingdom_name(202385, wt = "xml")
kingdom_names()

## End(Not run)

ritis

Integrated Taxonomic Information System Client

v1.0.0
MIT + file LICENSE
Authors
Scott Chamberlain [aut, cre] (<https://orcid.org/0000-0003-1444-9135>), rOpenSci [fnd] (https://ropensci.org/)
Initial release

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.