search_avesperu {avesperu} | R Documentation |
Retrieve Data from the List of the Birds of Peru
Description
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.
Usage
search_avesperu(splist, max_distance = 0.1)
Arguments
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. |
Details
The function allows fuzzy matching for species names with a maximum distance threshold to handle potential typos or variations in species names.
Value
A data frame containing the retrieved information for each species.
Examples
splist <- c("Falco sparverius", "Tinamus osgodi", "Crypturellus sooui",
"Thraupisa palamarum", "Thamnophilus praecox")
search_avesperu(splist)
[Package avesperu version 0.0.2 Index]