
Matching criterions
no_additional_matching.RdCustom matching criterions used within match_all_issue() and get_match_from_multiple().
Usage
no_additional_matching(enrich_database_extract, message = "")
additional_wcvp_matching(enrich_database_extract, message = "")Value
Always returns a list of 2 with:
$rowThe rows ofenrich_database_extractcorresponding to the best match/s according to the criterion.$messageA combination of the input message the method used to determine a match.
Details
Within BGSmartR we have two in-built custom matching criterions.
no_additional_matching()is used when no custom matching wants to be performed.additional_wcvp_matching()is the default for additional matching to the World Checklist of Vascular Plants (WCVP) database. This method includes looking ahead to see if potential matches lead to the same accepted plant name, and matching on the taxon_status of the records (Accepted or Synonym).
These can be used within match_all_issue() and get_match_from_multiple() via the input matching_criterion. See vignette Method of Matching taxonomic records for further details on custom matching and how to create new matching criterions.