I have a list of city names that are misspelled by users in a text entry box field for example (Chiqago, Neww jork or also Niu yorc, etc). I would like to know if R can solve this kind of problem that receive a badly written city and transforms into a correct city name.
Input city : Chiqago, Neww jork, Niu yorc, St Fransis
Output city: Chicago, New York, New York, San Francisco