powered by
Tidy stringdist calculation
tidy_stringdist(df, v1 = V1, v2 = V2, method = c("osa", "lv", "dl", "hamming", "lcs", "qgram", "cosine", "jaccard", "jw", "soundex"), ...)
a dataframe containing the strings to compare
the name of the first columns
the name of the second columns
one of the methods implemented in the stringdist package <U+2014> "osa", "lv", "dl", "hamming", "lcs", "qgram", "cosine", "jaccard", "jw", "soundex". See stringdist-metrics
stringdist-metrics
other parameters passed to stringdist
stringdist
a tibble with string distance
# NOT RUN { proust <- tidy_comb_all(c("Albertine", "Fran<U+00E7>oise", "Gilberte", "Odette", "Charles")) tidy_stringdist(proust) # }
Run the code above in your browser using DataLab