library(fuzzyjoin) df1 %>% # Left join based on stringdist using city and city_actual cols stringdist_left_join(df2, by = c("df1_col" = "df2_col"))
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