Skip to main content

Fuzzy join tables

For each row of the first table, find the row of the second table whose column value is closest and append its columns and the score.

Command in the Fuzzy Match toolkit · id ooa.fuzzy/fuzzy_lookup · 8 inputs (4 required), 3 outputs

Inputs​

InputTypeRequiredDefaultWhat it is
Left tableTableYesTable whose rows you want to enrich.
Left columnStringYesColumn of the first table to match on.
Right tableTableYesReference table to look values up in.
Right columnStringYesColumn of the reference table to match on.
ThresholdNumberNo80Lowest score (0 to 100) accepted as a match.
AlgorithmStringNotoken_setlevenshtein: edit distance, good for typos. jaro_winkler: favours a shared start, good for short names. token_sort: ignores word order. token_set: ignores word order and extra words.
Keep unmatchedBooleanNotrueKeep rows without a match, with empty reference columns. Off: drop them.
Case sensitiveBooleanNofalseTreat upper and lower case as different.

Outputs​

OutputTypeWhat it is
tableTableFirst table's columns, then the second table's (renamed with a right_ prefix on a clash), then match_score.
matchedNumberRows that found a match.
unmatchedNumberRows of the first table without a match.