geographic_divisions: Get geographic divisions from tsn

Description Usage Arguments Examples

View source: R/geographic_divisions.R

Description

Get geographic divisions from tsn

Usage

1
geographic_divisions(tsn, 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

Examples

1
2
3
4
5
6
7
8
## Not run: 
geographic_divisions(tsn = 180543)

geographic_divisions(tsn = 180543, wt = "xml")

geographic_divisions(tsn = 180543, wt = "json", raw = TRUE)

## End(Not run)

ritis documentation built on Feb. 2, 2021, 9:06 a.m.