Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

E3: Repeat or save corrected WDIcountry.dta from E2 #92

Open
andrasvereckei opened this issue Aug 26, 2020 · 0 comments
Open

E3: Repeat or save corrected WDIcountry.dta from E2 #92

andrasvereckei opened this issue Aug 26, 2020 · 0 comments

Comments

@andrasvereckei
Copy link
Contributor

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant