View source: R/taxo_fuzzy_match.R
taxo_fuzzy_match | R Documentation |
Fuzzy matching with names
taxo_fuzzy_match(name, master, dist = 2)
name |
Name to search |
master |
List of names |
dist |
Distance tolerance, Default: 2 |
Fuzzy matching with names in the master list and return best match.
Matched name, string distance and original name. Null if not found.
Other Name functions:
build_gen_syn()
,
cast_canonical()
,
cast_scientificname()
,
check_scientific()
,
expand_name()
,
get_accepted_names()
,
guess_taxo_rank()
,
list_higher_taxo()
,
melt_canonical()
,
melt_scientificname()
,
resolve_names()
master <- data.frame("canonical" = c("Abrothrix longipilis",
"Acodon hirtus",
"Akodon longipilis apta",
"Akodon longipilis castaneus",
"Chroeomys jelskii",
"Acodon jelskii pyrrhotis"),
stringsAsFactors = FALSE)
taxo_fuzzy_match("Acodon hirta",master)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.