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 GET

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 May 30, 2017, 2:35 a.m.