How could I change string values to any numeric value, as long as each unique string has a unique numeric return.
for example INTcntry gets a value 1 for 2708BG, 2 for 2703BG... However I don't want to assign it manually, because I have 9000 somewhat different string values.
idno INTcntry
4039 3857 2708BG
4040 3858 2708BG
4041 3862 2704BG
4042 3863 2704BG
4043 3864 2704BG
4044 3865 2704BG
4045 3867 2704BG
4046 3868 2704BG
4047 3871 2703BG
4048 3872 2703BG
4199 161 1011CH
4201 163 1011CH