Hello STATA experts, please help me with a recoding challenge. The dataset contains multiple obs per name. Give the same person, some obs have the last and first names fully spelled out, while others have the last name spelled out and only initial of the first name. It looks like the following:
lastname firstname
smith michael
smith m
smith m
smith michael
johnson l
johnson l
johnson linda
johnson l
How do I recode the firstname so that each ob has the firstname spelled out? The dataset has about 200 names and 2200 obs.
Thank you so much!
lastname firstname
smith michael
smith m
smith m
smith michael
johnson l
johnson l
johnson linda
johnson l
How do I recode the firstname so that each ob has the firstname spelled out? The dataset has about 200 names and 2200 obs.
Thank you so much!
Comment