I try to bind rows which have common text.
I use this from this:
df1 <- data.frame(freetext = c("open until monday night", "one more time to insert your coin"), numid = c(291,312))
df2 <- data.frame(freetext = c("open until monday night a day before", "one more time to insert your coin but I should mention"), id = c(2,1))
fuzzyjoin::stringdist_inner_join(df1, df2, by = 'freetext', max_dist = 10)
However I receive this output:
freetext.x numid freetext.y id
<0 rows> (or 0-length row.names)
What should I update?