Retrieve data for a list of species from the ppendemic_tab dataset.
Source:R/ppendemic_dat.R
get_ppendemic_data.Rd
This function takes a list of species names, searches for their data in the ppendemic_tab dataset, and returns a data frame containing the relevant information for each species.
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.
Examples
get_ppendemic_data(splist = c("Aa aurantiaca", "Aa aurantiaaia", "werneria nubigena"))
#> name_submitted accepted_name accepted_family accepted_name_author
#> 1 Aa aurantiaca Aa aurantiaca Orchidaceae D.Trujillo
#> 2 Aa aurantiaaia Aa aurantiaca Orchidaceae D.Trujillo
#> publication_author place_of_publication volume_and_page first_published dist
#> 1 nill Lankesteriana 11: 3 (2011) 0
#> 2 nill Lankesteriana 11: 3 (2011) 2