currency | R Documentation |
Get currency from tsn
currency(tsn, wt = "json", raw = FALSE, ...)
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: |
... |
curl options passed on to crul::HttpClient |
a data.frame
## Not run:
# currency data
currency(tsn=28727)
currency(tsn=28727, wt = "xml")
# no currency dat
currency(526852)
currency(526852, raw = TRUE)
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.