Get kingdom names from tsn

Share:

Description

Get kingdom names from tsn

Usage

1
2
3
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 GET

Details

  • kingdom_name: Get kingdom name for a TSN

  • kingdom_names: Get all possible kingdom names

Examples

1
2
3
4
5
6
## Not run: 
kingdom_name(202385)
kingdom_name(202385, wt = "xml")
kingdom_names()

## End(Not run)

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