I have a dataset with 1600 observations. Respondents were asked to write down the regions where they are living. They have spelt those regions in all sorts of creative and different ways, with Capital letters, non-capital, ALL BLOCKS, misspelt, etc.
I would like to assign each of these names to one level of one factor (there exist 20 regions in total). Is there a way to perform this action in R? Dataset language is Italian if relevant.
Thank you for your help.