match_lists: match two taxonomic lists

View source: R/match_lists.R

match_listsR 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")


taxotools documentation built on Jan. 23, 2023, 5:24 p.m.