Get jurisdictional origin from tsn

Share:

Description

Get jurisdictional origin from tsn

Usage

1
2
3
4
5
jurisdictional_origin(tsn, wt = "json", raw = FALSE, ...)

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

jurisdiction_values(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

Jurisdiction methods:

  • jurisdictional_origin: Get jurisdictional origin from tsn

  • jurisdiction_origin_values: Get jurisdiction origin values

  • jurisdiction_values: Get all possible jurisdiction values

Value

  • jurisdictional_origin: data.frame

  • jurisdiction_origin_values: data.frame

  • jurisdiction_values: character vector

Examples

1
2
3
4
5
6
7
8
9
## Not run: 
jurisdictional_origin(tsn=180543)
jurisdictional_origin(tsn=180543, wt = "xml")

jurisdiction_origin_values()

jurisdiction_values()

## End(Not run)

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