Hi,
I have a data set joined on the IDs. I need to compate 2 cities fields(from different sources) and create flag based on the Levenshtein distance for those fields. If the distance < 3 then flag = 1, if the distance > 3 then flag = 0
Example, "Athena" and "Athens", Levenshtein distance = 1, so flag = 1
'ZURIH' and 'MUNICH', Levenshtein distance = 3, so flag = 0
Could you, please, advice me, what is the best way to implement it?
Thank you in advance!