Open andrasvereckei opened 4 years ago
First line: There are many variables in our dataset loaded from data/raw/worldbank/WDICountry.csv. For this lesson we need the modified WDI.country.dta from the end of episode 2.
import delimited "/data/raw/worldbank/WDICountry.csv", varnames(1) bindquote(strict) encoding("utf-8") clear generate censusyear = real(substr(latestpopulationcensus, 1, 4))
Maybe change the description in the first line and repeat the import and generate command.
First line: There are many variables in our dataset loaded from data/raw/worldbank/WDICountry.csv. For this lesson we need the modified WDI.country.dta from the end of episode 2.
import delimited "/data/raw/worldbank/WDICountry.csv", varnames(1) bindquote(strict) encoding("utf-8") clear generate censusyear = real(substr(latestpopulationcensus, 1, 4))
Maybe change the description in the first line and repeat the import and generate command.