Learn R Programming

ritis (version 0.5.4)

comment_detail: Get comment detail from TSN

Description

Get comment detail from TSN

Usage

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

Value

A data.frame with results.

Examples

Run this code
## Not run: 
# comment_detail(tsn=180543)
# comment_detail(tsn=180543, wt = "xml")
# library(httr)
# comment_detail(tsn=180543)
# ## End(Not run)

Run the code above in your browser using DataLab