View source: R/pm_fuzzy_match.R
| get_ambiguous_matches | R Documentation |
Extracts information about ambiguous matches (multiple candidates with tied distances) from matching results. Useful for quality control and manual curation. Adapted for peru_mammals (genus and species only).
get_ambiguous_matches(
match_result,
type = c("genus", "species", "all"),
save_to_file = FALSE,
output_dir = tempdir()
)
match_result |
A tibble returned by matching functions. |
type |
Character. Type of ambiguous matches to retrieve:
|
save_to_file |
Logical. If TRUE, saves results to CSV. Default is FALSE (CRAN compliant). |
output_dir |
Character. Directory to save file if save_to_file = TRUE.
Defaults to |
During fuzzy matching, multiple candidates may have identical string distances. The matching algorithm automatically selects the first candidate, but this function allows you to review all alternatives for quality control.
A tibble with ambiguous match details, or NULL if none exist. Includes original names, matched names, distances, and database metadata.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.