Learn R Programming

ritis (version 0.5.4)

credibility: Get credibility rating from tsn

Description

Get credibility rating from tsn

Usage

credibility_rating(tsn, wt = "json", raw = FALSE, ...)
credibility_ratings(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

Details

methods:
  • credibility_rating: Get credibility rating for a tsn
  • credibility_ratings: Get possible credibility ratings

Examples

Run this code
## Not run: 
# credibility_rating(tsn = 526852)
# credibility_rating(526852, wt = "xml")
# credibility_rating(526852, raw = TRUE)
# 
# credibility_ratings()
# credibility_ratings(wt = "xml")
# credibility_ratings(raw = TRUE)
# ## End(Not run)

Run the code above in your browser using DataLab