I get an error code in STATA when I run the do file. Variable is defined twice. How should I correct?

#1

I successfully downloaded and decompressed my data. When I run the do file, I get an error code because one of the variables in the dataset is defined twice.

I checked the data dictionary and it looks like this variable appears in two different columns. How should I correct this?

#2

The first recommendation when encountering this kind of problem is to recreate the extract from scratch. Occasionally, revising and resubmitting fairly old extracts has lead to problems of doubled variables, and creating a new extract has solved the problem. If you continue to experience this problem, please send us an email at ipums@umn.edu