R fuzzy string match to return specific column based on matched string
You are 90% of the way there… You say you want to know with which row of data the string was matched from df2 You just need to understand the code you already have. See ?amatch: amatch returns the position of the closest match of x in table. When multiple matches with the same smallest … Read more