Lecture 6
Duke University
STA 113 - Fall 2023
What is one thing you learned from your reading or videos that was “new” to you? And what is one question you have from the reading, videos, or material we’ve covered so far, including the previous application exercise?
Asking code related questions on Slack
Troubleshooting 101: Read your error messages in full, out loud if need be
Code formatting 101:
Always line breaks after +
and |>
Add line breaks as needed after ,
to help fit code on rendered PDF
Think poetry (short lines), not novellas (long sentences)
Describe a scenario where two datasets that contain information about students from this class may need to be joined. What might the analysis be about? What column (information) could be used to join the datasets?
Dataset 1: Data from various countries on fishing harvest
Dataset 2: Countries and continents
Observations: Each row represents a country
We…
have two data frames
want to join them, slice them, dice them, juice them, and process them, so we can plot them
ae-06
ae-06-fisheries
(repo name will be suffixed with your GitHub name).usethis::create_github_token()
to create a new PAT or grab the one you created previously from a space you might have safely stored it (e.g., 1Password or similar)gitcreds::gitcreds_set()
and paste your PAT when prompted.git config credential.helper store
to make sure your PAT persists throughout the whole time you’re working on this assignment / Cloud project..qmd
) and follow along and complete the exercises.