date_data: Get date data from tsn

Description Usage Arguments Examples

View source: R/date_data.R

Description

Get date data from tsn

Usage

1
date_data(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
## Not run: 
date_data(tsn = 180543)
date_data(180543, wt = "xml")
date_data(180543, wt = "json", raw = TRUE)

## End(Not run)

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