datacarpentry / stata-economics

Economics Lesson with Stata
https://datacarpentry.org/stata-economics/
Other
27 stars 20 forks source link

E04: Nonexistent files #97

Open martonfleck opened 3 years ago

martonfleck commented 3 years ago

The Merge part of Episode 04 works with files data/wdi_decades.dta and data/average_distance.dta. There are no such files in the data folder, and they are not created in previous episodes either.

Generating these datasets would fit into Episode 03 to illustrate and practice egen and collapse.

csokaimola commented 2 months ago

I also noticed this problem. Same as in #72 . @korenmiklos where do these data come from?

csokaimola commented 1 month ago

Solutions:

wdi_decades.dta --> one line of code can be included in Episode 4, after the append

average_distance.dta --> can be included in Episode 3 as an example for collapse, I suggest to include it as a challenge at the end, right before the opional part (keep if inlist(countrycode, "EMU", "WLD") ...), the following way: