From 79b3bc552aac78fce63045933f62630ed5402a6c Mon Sep 17 00:00:00 2001 From: Zimmerman Date: Mon, 2 Oct 2023 01:02:20 -0700 Subject: [PATCH] Editing narrative of the tutorial --- .Rproj.user/7D780DDE/sources/prop/2B3954DB | 4 +-- .../sources/session-86301621/39657677 | 10 +++---- .../session-86301621/39657677-contents | 10 +++++++ index.Rmd | 10 +++++++ index.html | 28 ++++++++++++++++++- 5 files changed, 54 insertions(+), 8 deletions(-) diff --git a/.Rproj.user/7D780DDE/sources/prop/2B3954DB b/.Rproj.user/7D780DDE/sources/prop/2B3954DB index ee6f7bf..9b8d73f 100644 --- a/.Rproj.user/7D780DDE/sources/prop/2B3954DB +++ b/.Rproj.user/7D780DDE/sources/prop/2B3954DB @@ -2,7 +2,7 @@ "tempName": "Untitled1", "source_window_id": "", "Source": "Source", - "cursorPosition": "0,0", - "scrollLine": "0", + "cursorPosition": "57,253", + "scrollLine": "51", "last_setup_crc32": "" } \ No newline at end of file diff --git a/.Rproj.user/7D780DDE/sources/session-86301621/39657677 b/.Rproj.user/7D780DDE/sources/session-86301621/39657677 index de6dc85..041b7a5 100644 --- a/.Rproj.user/7D780DDE/sources/session-86301621/39657677 +++ b/.Rproj.user/7D780DDE/sources/session-86301621/39657677 @@ -3,7 +3,7 @@ "path": "C:/Users/zimmer43/Sync/Github/AAAR2023-tutorial/index.Rmd", "project_path": "index.Rmd", "type": "r_markdown", - "hash": "3697768045", + "hash": "4213431816", "contents": "", "dirty": false, "created": 1696232689723.0, @@ -13,16 +13,16 @@ "tempName": "Untitled1", "source_window_id": "", "Source": "Source", - "cursorPosition": "0,0", - "scrollLine": "0", + "cursorPosition": "57,253", + "scrollLine": "51", "last_setup_crc32": "" }, "folds": "", - "lastKnownWriteTime": 1696232910, + "lastKnownWriteTime": 1696233531, "encoding": "UTF-8", "collab_server": "", "source_window": "", - "last_content_update": 1696232910033, + "last_content_update": 1696233531946, "read_only": false, "read_only_alternatives": [] } \ No newline at end of file diff --git a/.Rproj.user/7D780DDE/sources/session-86301621/39657677-contents b/.Rproj.user/7D780DDE/sources/session-86301621/39657677-contents index d314099..373de06 100644 --- a/.Rproj.user/7D780DDE/sources/session-86301621/39657677-contents +++ b/.Rproj.user/7D780DDE/sources/session-86301621/39657677-contents @@ -47,6 +47,16 @@ Other notes: * All the data, codes and markdown files are available in the Github repository [(Click here to access)](https://github.com/nzimmerman-ubc/AAAR2023-tutorial) * If you just want the R Markdown file, you can download it from the upper right corner of the page. +# Part 0: Version Control +In developing this tutorial, I used version control using Git and Github. If you're in academia, Github is great because you can get access to many paid features for free (making pages from private repositories, creating organizations, etc.). You can interact with Git in RStudio very easily after it's installed (see links from the Introduction). Once you've successfully installed Git and made it accessible in RStudio, you'll see a little "Git" tab in the top right panel. We can use this panel to quickly Commit changes to our repository, view file additions or deletions, etc. + +Those who are familiar with Git may prefer to use the command line - that's outside of the scope of our tutorial today, but you can access the terminal from RStudio in the "Terminal" tab of the bottom left panel. + +I will now quickly demonstrate making a change, committing that change, and pushing my change to Github. + +## Forking the directory +If you want to follow along in real-time with this tutorial, navigate to this tutorial's repository [(Click here to access)](https://github.com/nzimmerman-ubc/AAAR2023-tutorial) and create a fork (which will create a local copy in your own repository). + # Part 1: SQL Set-up and Logistics So first things first, we're going to make sure we have set up and configured MySQL on our machine. We'll do this part live, so follow along. We can interact with MySQL in a few ways: diff --git a/index.Rmd b/index.Rmd index d314099..373de06 100644 --- a/index.Rmd +++ b/index.Rmd @@ -47,6 +47,16 @@ Other notes: * All the data, codes and markdown files are available in the Github repository [(Click here to access)](https://github.com/nzimmerman-ubc/AAAR2023-tutorial) * If you just want the R Markdown file, you can download it from the upper right corner of the page. +# Part 0: Version Control +In developing this tutorial, I used version control using Git and Github. If you're in academia, Github is great because you can get access to many paid features for free (making pages from private repositories, creating organizations, etc.). You can interact with Git in RStudio very easily after it's installed (see links from the Introduction). Once you've successfully installed Git and made it accessible in RStudio, you'll see a little "Git" tab in the top right panel. We can use this panel to quickly Commit changes to our repository, view file additions or deletions, etc. + +Those who are familiar with Git may prefer to use the command line - that's outside of the scope of our tutorial today, but you can access the terminal from RStudio in the "Terminal" tab of the bottom left panel. + +I will now quickly demonstrate making a change, committing that change, and pushing my change to Github. + +## Forking the directory +If you want to follow along in real-time with this tutorial, navigate to this tutorial's repository [(Click here to access)](https://github.com/nzimmerman-ubc/AAAR2023-tutorial) and create a fork (which will create a local copy in your own repository). + # Part 1: SQL Set-up and Logistics So first things first, we're going to make sure we have set up and configured MySQL on our machine. We'll do this part live, so follow along. We can interact with MySQL in a few ways: diff --git a/index.html b/index.html index 6f703a1..70eacb7 100644 --- a/index.html +++ b/index.html @@ -390,6 +390,32 @@

Getting yourself set-up

+
+

Part 0: Version Control

+

In developing this tutorial, I used version control using Git and +Github. If you’re in academia, Github is great because you can get +access to many paid features for free (making pages from private +repositories, creating organizations, etc.). You can interact with Git +in RStudio very easily after it’s installed (see links from the +Introduction). Once you’ve successfully installed Git and made it +accessible in RStudio, you’ll see a little “Git” tab in the top right +panel. We can use this panel to quickly Commit changes to our +repository, view file additions or deletions, etc.

+

Those who are familiar with Git may prefer to use the command line - +that’s outside of the scope of our tutorial today, but you can access +the terminal from RStudio in the “Terminal” tab of the bottom left +panel.

+

I will now quickly demonstrate making a change, committing that +change, and pushing my change to Github.

+
+

Forking the directory

+

If you want to follow along in real-time with this tutorial, navigate +to this tutorial’s repository (Click here +to access) and create a fork (which will create a local copy in your +own repository).

+
+

Part 1: SQL Set-up and Logistics

So first things first, we’re going to make sure we have set up and @@ -614,7 +640,7 @@

Housekeeping

-
LS0tDQp0aXRsZTogIkFBQVIgMjAyMyBEYXRhIFdyYW5nbGluZyBUdXRvcmlhbCINCmF1dGhvcjogIkRyLiBOYW9taSBaaW1tZXJtYW4iDQpkYXRlOiAiYHIgU3lzLkRhdGUoKWAiDQpvdXRwdXQ6DQogIHJtYXJrZG93bjo6aHRtbF9kb2N1bWVudDoNCiAgICB0aGVtZTogY2VydWxlYW4NCiAgICBjb2RlX2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