Nothing
#' Returns the usage information for the TSN.
#'
#' @export
#' @inheritParams accepted_names
#' @template tsn
#' @examples \dontrun{
#' usage(tsn = 526852)
#' usage(tsn = 526852, raw = TRUE)
#' usage(tsn = 526852, wt = "xml")
#' }
usage <- function(tsn, wt = "json", raw = FALSE, ...) {
out <- itis_GET("getTaxonomicUsageFromTSN", list(tsn = tsn), wt, ...)
if (raw || wt == "xml") return(out)
x <- parse_raw(out)
if (is.null(x$taxonUsageRating) || inherits(x$taxonUsageRating, "logical")) {
tibble::tibble()
} else {
dr_op(tibble::as_tibble(x), "class")
}
}
Any scripts or data that you put into this service are public.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.