I have a dataset that has a geographic identifier (districts) that uses the actual string name of the district e.g Surrey, Essex. I would like to recode each district with a particular numerical code that I have in an Excel file. There are several hundred districts so typing "replace district=1 if district=Surrey" will take a very long time. Is there a shortcut at all?
-
Login or Register
- Log in with
Comment