search_avesperu {avesperu} | R Documentation |
This function takes a list of birds species names, searches for their data in the avesperu pacakage dataset, and returns a data frame containing the relevant information for each species.
search_avesperu(splist, max_distance = 0.1)
splist |
A character vector containing the names of the species to search for. |
max_distance |
The maximum allowed distance for fuzzy matching of species names. Defaults to 0.1. |
The function allows fuzzy matching for species names with a maximum distance threshold to handle potential typos or variations in species names.
A data frame containing the retrieved information for each species.
splist <- c("Falco sparverius", "Tinamus osgodi", "Crypturellus sooui",
"Thraupisa palamarum", "Thamnophilus praecox")
search_avesperu(splist)