View source: R/search_reptiledbr.R
list_subspecies_reptiledbr | R Documentation |
This function processes results from a ReptileDB database search to extract subspecies information. It identifies species that have subspecies and returns a tibble with the species name, subspecies name, and author information.
list_subspecies_reptiledbr(df)
df |
A dataframe or tibble result from using reptiledbr_exact, reptiledbr_partial or search_reptiledbr functions. |
A tibble with three columns:
species |
The name of the species |
subspecies_name |
The full name of the subspecies |
author |
The author and year of the subspecies description |
## Not run:
# These examples require the 'reptiledb.data' package to be installed.
subspecies_names <- c("Lachesis muta",
"Anilius scytale",
"Anolis bahorucoensis")
search_reptiledbr(subspecies_names, use_fuzzy = FALSE) |>
list_subspecies_reptiledbr()
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.