Hi all,
I have a .csv file that I have to import in stata. Specifically, what happens when I import it is that the string variable called city_agg is too long to be imported in a single line from time to time. Hence, it goes to the next line creating a new unwanted observation like this (see picture below).
Is there a way to either prevent this behavior or tell stata that the observation where this happens (i.e. where the first variable is different from a number) must go on the last variable of the previous row?
Thank you
I have a .csv file that I have to import in stata. Specifically, what happens when I import it is that the string variable called city_agg is too long to be imported in a single line from time to time. Hence, it goes to the next line creating a new unwanted observation like this (see picture below).
Is there a way to either prevent this behavior or tell stata that the observation where this happens (i.e. where the first variable is different from a number) must go on the last variable of the previous row?
Thank you
Comment