Search Reptile Species by Exact Match and Subspecies Presence
Source:R/search_reptiledbr.R
reptiledbr_exact.Rd
This function searches for exact matches of scientific species names and indicates whether each matched species has associated subspecies in the dataset.
Value
A tibble with taxonomic information and a message indicating subspecies presence.
The response variable may return different messages depending on the outcome of the query. Possible values include:
"Species not found"
– The specified species could not be matched in the database."Species has subspecies"
– The specified species exists and has one or more subspecies registered."No subspecies found"
– The species was found, but there are no subspecies associated with it in the database.
Examples
reptiledbr_exact(c("Ablepharus alaicus", "Anolis limon"))
#> # A tibble: 2 × 10
#> id input_name found species_match order family genus epithet author message
#> <int> <chr> <lgl> <chr> <fct> <fct> <fct> <fct> <chr> <chr>
#> 1 1 Ablepharu… TRUE Ablepharus a… Saur… Scinc… Able… alaicus Elpat… Specie…
#> 2 2 Anolis li… TRUE Anolis limon Saur… Anoli… Anol… limon Velas… No sub…