Lecture 2
Duke University
STA 113 - Fall 2023
What is one thing you learned from your reading that was “new” to you? And what is one question you have from the reading?
My office hours: Thursdays 10-11am on Zoom (link to be posted!)
Course webpage updated with tentative schedule for due dates
Go to Posit Cloud and start the project called ae-01-un-votes. Render the document titled unvotes.qmd
. Review the narrative and the data visualization you just created. Then, change “Turkey” to another country of your choice. Re-render the document. Show the plot you created to your neighbor and discuss (1) why you chose that country and (2) how this new visualization is different than the original (and what that says about country politics, if anything).
By the end of the course, you will be able to…
What does it mean for a data analysis to be “reproducible”?
Near-term goals:
Long-term goals:
Packages: Fundamental units of reproducible R code, including reusable R functions, the documentation that describes how to use them, and sample data1
As of September 2022, there are over 18,000 R packages available on CRAN (the Comprehensive R Archive Network)2
We’re going to work with a small (but important) subset of these!
$
:Go to Posit Cloud and start the project called ae-02-flint. Open the document titled flint.qmd
.
We’ll continue out “Meet the toolkit” journey, focusing on version control tools, Git and GitHub, the last piece of the puzzle
We’ll then move on to the nuts and bolts of data visualization in R with ggplot2