Lecture 7
Duke University
STA 199 - Fall 2022
9/20/22
ae-05
project in RStudio, render your document, and commit and push.A primary key is a variable that uniquely identifies an observation. A foreign key is the corresponding variable in another table. These keys might have the same name, but they don’t have to, e.g. by = c("student_email" = "student_id")
.
Yes, you don’t have to be on Duke WiFi to connect to the containers.
and is &
and or is |
.
When you edit your Quarto file and you save it, your changes are saved but they’re not reflected in your output HTML or PDF file. When you render the document, the output is also updated to reflect those changes. When you hit render, RStudio automatically first saves your Quarto file, and then renders it. So I recommend you render early and often, both to save your changes, and also to make sure your changes did not introduce any errors into the document.
We “commit” to take a snapshot of the files in our local repository, i.e. the files that are saved on the university servers you’re using. We “push” to get those changes to the remote repository, i.e. your repository on GitHub.
What makes a dataset “tidy”?
03:00
ae-05
ae-05
(repo name will be suffixed with your GitHub name).pivot_longer()
function.