Nothing
#' Get descriptions of lichen taxa
#'
#' @description
#' Retrieves morphological descriptions and additional taxonomic or ecological notes about lichen taxa present in the Checklist of the Lichens of Italy.
#' Only accepts names that exist in the database of ITALIC.
#'
#' @note Before using this function with a list of names, first obtain their accepted names
#' using `italic_match()`.
#' Example workflow:
#' \preformatted{
#' names_matched <- italic_match(your_names)
#' descriptions <- italic_description(names_matched$accepted_name)
#' }
#'
#' @param sp_names Character vector of accepted names
#'
#' @return A data frame with columns:
#' \describe{
#' \item{scientific_name}{The scientific name provided as input}
#' \item{description}{Morphological description}
#' \item{notes}{Additional taxonomic or ecological information}
#' }
#'
#' @examples
#' \dontrun{
#' italic_description("Cetraria islandica (L.) Ach. subsp. islandica")
#' }
#'
#'
#' @export
italic_description <- function(sp_names) {
data <-
call_api_base(
sp_names,
api_endpoint = "https://italic.units.it/api/v1/description/",
loading_text = "Retrieving descriptions...",
parse_function = parse_api_response,
request_method = "GET",
reorder_result = TRUE
)
return(data)
}
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.