In this assignment you will be working with data from Gapminder. This is the same dataset we used for a demo in class. In fact, you’re asked to complete the same tasks we demoed in class (though we ran out of time and didn’t actually complete all of them). This might seem a little redundant at first, but the goal of this assignment is to help you get comfortable with the course workflow:
and voila, you’re done! Once you push your changes back you do not need to do anything else to “submit” your work. And you can of course push multiple times throughout the assignment. At the time of the deadline we will take whatever is in your repo and consider it your final submission, and grade the state of your work at that time (which means even if you made mistakes before then, you wouldn’t be penalized for them as long as the final state of your work is correct).
We walked through this process once in class, and here it is one more time:
Now it’s your turn…
Go to Gapminder and play around with the interactive visualization tool, to get a sense of the data you’ll be working with. (This tool uses a much more extensive version of the data you’ll be working with.)
Go to the #assignment-links channel on Slack and click on the link for mini-hw-02, and accept the assignment. This will create your copy of the assignment repo, with some starter documents in it.
Change the name in the YAML to your name (remember, keep it in quotations) and knit the document. Confirm that the output reflects your name. Go to the Git tab on RStudio and observe the diff. Then check the box next to all changed documents, write an informative commit message, commit, and then push (you’ll be asked for username and password again). Once changes are successfully pushed, go back to your repo on GitHub, and confirm that the change you made has been committed.
lifeExp
) vs. population (pop
)
gpdPercap
)
size = gdpPercap
to your plotting codeWhen you’re done, review the .md document on GitHub to make sure you’re happy with the final state of your work. Then go get some rest!
Use the #r-help or #github-help channels on Slack to ask questions. If your question is about an error you’re getting, make sure to clearly explain what generated the error as well as what the error says.
You are also welcomed to discuss the homework with each other broadly (no sharing code!) as well as ask questions at office hours.
Total | 5 pts |
---|---|
Updated name | 1 pt |
Correct final plot | 1 pts |
Reasonable description of relationship | 1 pt |
Commit after each task (at a minimum, more commits ok) | 1 pt |
Informative commit messages | 1 pt |