Presents matches one at a time for manual accept/reject decisions in
an interactive R session. Each accepted or rejected match is applied
via reconcile_override(), updating the reconciliation object
in place. Useful for auditing fuzzy or flagged matches in the console
or RStudio.
Usage
reconcile_review(
reconciliation,
type = c("flagged", "fuzzy", "all_unresolved"),
suggest = TRUE,
quiet = FALSE
)Arguments
- reconciliation
A reconciliation object returned by
reconcile_tree(),reconcile_data(), or a related matcher.- type
A length-1 character vector. Which matches to review:
"flagged"Only flagged matches (default).
"fuzzy"Fuzzy and flagged matches.
"all_unresolved"All unresolved species.
- suggest
Logical. If
TRUEandtype = "all_unresolved", show the closest fuzzy candidate (if any) alongside unresolved names. DefaultTRUE.- quiet
Logical. If
TRUE, suppress the end-of-review summary. DefaultFALSE.
Value
An updated reconciliation object reflecting accepted and rejected decisions.
Details
This function requires an interactive session. In non-interactive
contexts (e.g., scripts, CI), it warns and returns reconciliation
unchanged.
At each prompt the user may enter:
aAccept the proposed match (calls
reconcile_override()withaction = "accept").rReject the match (calls
reconcile_override()withaction = "reject").sSkip – move to the next item without changes.
qQuit – return the current state immediately.
See also
reconcile_override() and reconcile_override_batch() for
non-interactive corrections; reconcile_suggest() for shortlisting
unresolved species before review.
Other reconciliation functions:
reconcile_apply(),
reconcile_augment(),
reconcile_crosswalk(),
reconcile_data(),
reconcile_diff(),
reconcile_export(),
reconcile_mapping(),
reconcile_merge(),
reconcile_multi(),
reconcile_override(),
reconcile_override_batch(),
reconcile_plot(),
reconcile_report(),
reconcile_splits_lumps(),
reconcile_suggest(),
reconcile_summary(),
reconcile_to_trees(),
reconcile_tree(),
reconcile_trees()