R: Get date data from tsn

date_data {ritis} | R Documentation

## Get date data from tsn

### Description

Get date data from tsn

### Usage

    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

    ## Not run:
    date_data(tsn = 180543)
    date_data(180543, wt = "xml")
    date_data(180543, wt = "json", raw = TRUE)

    ## End(Not run)

[Package ritis version 0.7.0 Index]