Scans matched columns to find candidates whose combination with the
current by key would make the join key unique on at least one
side (and ideally both). Returns columns ranked by how much they
reduce duplicate-key cardinality. Useful when ks_compare() used
dup_keys = "keep_all" and the result looks suspicious.
Value
A tibble with columns column, pct_unique_base,
pct_unique_comp, would_make_unique. Zero rows when no key is
in use, no duplicates exist, or no improvement is possible.
Details
Because ks_compare() does not snapshot the input data, the
original base and comp frames must be passed in to inspect
candidate columns. When base / comp are not supplied (or do
not contain the original columns) an empty tibble is returned.
