match_lists {taxotools} | R Documentation |
match two taxonomic lists
Description
match two taxonomic lists using canonical names
Usage
match_lists(master, checklist, masterfld, checklistfld)
Arguments
master |
master taxonomic list |
checklist |
match taxonomic list |
masterfld |
field name for canonical name in master list |
checklistfld |
field name for canonical name in match list |
Value
a list with data frames containing matched records, records only in master and checklist and statistics about the records including Jaccard index
See Also
Other List functions:
DwC2taxo()
,
cast_cs_field()
,
compact_ids()
,
get_synonyms()
,
melt_cs_field()
,
merge_lists()
,
syn2taxo()
,
synonymize_subspecies()
,
taxo2DwC()
,
taxo2doc()
,
taxo2syn()
,
wiki2taxo()
Examples
master <- data.frame("canonical" = c("Abrothrix longipilis",
"Acodon hirtus",
"Akodon longipilis apta",
"Akodon longipilis castaneus",
"Chroeomys jelskii",
"Acodon jelskii pyrrhotis"),
stringsAsFactors = FALSE)
checklist <- data.frame("canonical" = c("Abrothrix longipilis",
"Akodon longipilis apta",
"Akodon longipilis castaneus",
"Abrothrix jelskii",
"Acodon jelskii pyrrhotis"),
stringsAsFactors = FALSE)
match_lists(master,checklist,"canonical","canonical")
[Package taxotools version 0.0.148 Index]