View source: R/hab_api_functions.R
get_toxin_list | R Documentation |
This function collects data from the IOC-UNESCO Toxins Database and returns information about toxins.
get_toxin_list(return_count = FALSE)
return_count |
Logical. If |
If return_count = TRUE
, the function returns a numeric value representing the number of toxins in the database. Otherwise, it returns a list of toxins with detailed information.
## Not run:
# Retrieve the full list of toxins
toxin_list <- get_toxin_list()
# Retrieve only the count of toxins
toxin_count <- get_toxin_list(return_count = TRUE)
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.