R/description.R

Defines functions description

Documented in description

#' Get description of the ITIS service
#'
#' @export
#' @inheritParams accepted_names
#' @return a string, the ITIS web service description
#' @examples \dontrun{
#' description()
#' description(wt = "xml")
#' }
description <- function(wt = "json", raw = FALSE, ...) {
  out <- itis_GET("getDescription", list(), wt, ...)
  if (raw || wt == "xml") return(out)
  parse_raw(out)$description
}

Try the ritis package in your browser

Any scripts or data that you put into this service are public.

ritis documentation built on Feb. 2, 2021, 9:06 a.m.