R: Get kingdom names from tsn

kingdoms {ritis} | R Documentation

## 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)

[Package ritis version 0.7.0 Index]