Learn R Programming

ritis (version 1.0.0)

other_sources: Returns a list of the other sources used for the TSN.

Description

Returns a list of the other sources used for the TSN.

Usage

other_sources(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

Run this code
# NOT RUN {
# results
other_sources(tsn=182662)
# no results
other_sources(tsn=2085272) 
# get xml
other_sources(tsn=182662, wt = "xml")
# }

Run the code above in your browser using DataLab