I want to geocode the variable t751001_g4R which gives the resident municipality (administrative region).I am using the SC6 cohort and pTarget file I use the following code where i first change t751001_g4R into a string variable with name of muncipality and then try to geocode it. However I receive an error message „connection error, retrying observation #1“ . Is it that I am doing something wrong or that the remote server doesnt allow the use of geodata.
The code is
neps, language (en): use "pTarget", clear keep ID_t wave t751001_g4R > nepsmiss _all replace t751001_g4R=. if t751001_g4R>=. decode t751001_g4R, generate(res) split res, generate (re) parse(]) // to split the AUX code from name of muncipality geocode, city(re2)