R/vernacular_languages.R

Defines functions vernacular_languages

Documented in vernacular_languages

#' Provides a list of the unique languages used in the vernacular table.
#'
#' @export
#' @inheritParams accepted_names
#' @return a character vector of verncular names
#' @examples \dontrun{
#' vernacular_languages()
#' }
vernacular_languages <- function(wt = "json", raw = FALSE, ...) {
  out <- itis_GET("getVernacularLanguages", list(), wt, ...)
  if (raw || wt == "xml") return(out)
  parse_raw(out)$languageNames
}

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.