Open emwest opened 7 years ago
Hi @emwest ,
You used source
in Makefile
. But I think you should have a real Makefile
, which should have all
, clean
, the intermediate input/output, and call those three .R
scripts you wrote to automate the pipeline (gapminder_download.R
, gapminder_exploratory.R
, and gapminder_statistics.R
). The point is that when you click "build", everything will be built automatically. While source
needs to be run line by line and it is not the proper make syntax. You might want to go over this tutorial to see what make
does and how it works.
It is good that you have three scripts to do downloading, explanatory and statistical analysis. And you have comments along the code to explain what you did, which is easy to follow. And I think you implemented almost all the tasks correctly. And you showed your understanding of dplyr
, ggplot
, saving files/figures and writing functions. Good job!
Your process report is detailed and I can see your effort. README
is informative and organized. It would be perfect if you succeed in creating a proper Makefile
. So going over the tutorial above and maybe revisit this homework and create a real Makefile
.
Yidie
Hi Emily,
I'm glad reviewing your homework! Overall, I think you did a good job.
Here are suggestions for potential improvements:
plot_loc
and csv_loc
, maybe you can do the same thing for .rds
files as well as .png
files, which would make the project structure clean and neat;R
script, I am more used to .Rmd
, as I can see results of each code chunk immediately in the Rmarkdown report, thus I get a bit lost in the middle when reading the R script, but I think this might be something that I need to work on. Hope these helps! -Yingying
Three or more scripts, an Rmd, and a Makefile: Ok (Makefile is R script) Starts by downloading data, ends with Rmd: Partial (no Rmd) The output of each is the modified input of the previous step: Yes Includes some analysis and at least one figure: Yes Makefile includes all scripts and Rmd with correct dependencies: No (is R Script) Makefile runs: No (see comments) Bonus: No Reflection: Yes
Comments:
Your mark will be distributed later. If you would like more feedback, please feel free to message me on slack.
@gvdr, @ksedivyhaley @JoeyBernhardt, Homework 7 is ready for review 👍 https://github.com/emwest/STAT547A/tree/master/hw07
latest commit: https://github.com/emwest/STAT547A/commit/551155e96c3c2cc1b0d511aff436a94d57f01b05