Learn R Programming

ritis (version 1.0.0)

coverage: Get coverge from tsn

Description

Get coverge from tsn

Usage

coverage(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 {
# coverage data
coverage(tsn=28727)
# no coverage data
coverage(526852)
coverage(526852, wt = "xml")
# }

Run the code above in your browser using DataLab