datacarpentry / stata-economics

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

Move regexp to callout. #25

Closed ariedamuco closed 5 years ago

ariedamuco commented 5 years ago

We can remove regexp if you think it complicates Episode 2.

ariedamuco commented 5 years ago

Updated: Not sure why you have postponed talking about the replace option. Currently, it's in Episode 5, but you can introduce it here and repeat it there.


Want to talk about the fact that Stata does not allow you to overwrite an existing dataset?

save "data/WDI-select-variables.dta" use "data/WDI-select-variables.dta", clear gen gdp_per_capita=1 save "data/WDI-select-variables.dta"

file "data/WDI-select-variables.dta" already exists r(602);

Use replace if you would like to overwrite an existing dataset.

ariedamuco commented 5 years ago

Some rearrangements Episode 1. describe' and thensummarize`