# Generate pairs with same 1 variable in common (block)
pair_blocking(df1, df2, blocking = "variable_in_common") %>%
# See how pairs match on varialbes
compare_pairs(by = c("var1", "var2", "var3"),
default_comparator = jaro_winkler()/lcs()/lm()) %>%
# Score pairs
score_problink() %>%
# Select pairs that match best
select_n_to_m() %>%
# Link data according to score
link()
Preview:
downloadDownload PNG
downloadDownload JPEG
downloadDownload SVG
Tip: You can change the style, width & colours of the snippet with the inspect tool before clicking Download!
Click to optimize width for Twitter