awunderground / data-science-for-public-policy2

https://awunderground.github.io/data-science-for-public-policy2/
4 stars 3 forks source link

Stg reproducible research and earlier sections #46

Closed Deckart2 closed 3 weeks ago

Deckart2 commented 2 months ago

Hi @awunderground ! This PR works on the reproducible research and programming sections of the book! I made a couple of decisions that I think are sensible, but would love your thoughts:

  1. For the 06_ and 07_ sections on Quarto, I removed much of the review in 07_ because it was identical to 06_. I also built out notes on params a bit
  2. I moved the iteration content from 12_apis to 10_functions because that topic obviously deals with functions
  3. I also removed the packages materials from the 10_functions section because it is going in a new chapter. I did a simple copy paste to 11_packages but am not rendering that right now. It is more there just to place-hold.
  4. I ran into a bug using quarto render it was not identifying my environment variables which caused an issue calling the census API in chapter 12. To address this, I made an environment file with the following structure census_api_key=12345 and added that to the gitignore.

Let me know how this looks. Happy to make further updates as needed!

Update May 27: I have made tweaks to earlier sections of the book (mostly word-smithing and reorganization) that are also in this branch