Retrieve Ambiguous Match Information for Peru Mammals
Source:R/pm_fuzzy_match.R
get_ambiguous_matches.RdExtracts 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).
Arguments
- match_result
A tibble returned by matching functions.
- type
Character. Type of ambiguous matches to retrieve:
"genus"(default): Ambiguous genus-level matches"species": Ambiguous species-level matches"all": Both types
- 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
tempdir().