herpSync | R Documentation |
Compares a user-provided list of reptile taxon names against a synonym table from The Reptile Database and returns an updated list of valid names. Particularly useful to standardize names before analyses or when integrating heterogeneous taxonomic sources.
Supports interactive disambiguation in cases where multiple valid names are found for a given synonym. Optionally, unmatched names can be retained or returned as blank.
herpSync(query, synonym, interactive = FALSE, return.no.matches = FALSE)
query |
A character vector of taxon names to be processed (e.g., species list, phylogenetic tip labels, or trait table entries). |
synonym |
A data frame with a synonym reference table (e.g., output from |
interactive |
Logical. If |
return.no.matches |
Logical. If |
A data frame with the following columns:
input
: original input names from the query.
stripped
: standardized versions of the input names (e.g., without authors or formatting).
status
: description of the outcome (e.g., "updated"
, "not found"
, "multiple matches"
).
updated
: best-matching valid names according to the synonym table.
The internally stored synonym table letsHerp::allSynonyms
was last updated on May 23rd, 2025.
Liedtke, H. C. (2018). AmphiNom: an amphibian systematics tool. Systematics and Biodiversity, 17(1), 1–6. https://doi.org/10.1080/14772000.2018.1518935
boa_syn <- letsHerp::allSynonyms[grep("^Boa\\s", allSynonyms$species), ]
query <- c("Vieira-Alencar authoristicus", "Boa atlantica", "Boa diviniloqua", "Boa imperator")
herpSync(query, boa_syn)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.