class: center, middle, inverse, title-slide # Data visualization II ## Intro to Data Science ### Shawn Santo --- ## Today's agenda - More data visualization with `ggplot2` - Determine which plots are appropriate for numeric and categorical variables - Reinforce the version control workflow --- ## Announcements - Hard deadline for Lab 01 is January 29 at 11:59pm ET - Homework 01 will be available today after lecture - Lab 02 (individual lab) will continue our focus on data visualization with `ggplot2` --- class: center, middle, inverse # Getting started --- ## GitHub to RStudio You are the owner of a repository on GitHub that you'd like to work on locally 1. Create your personal private repository by clicking https://classroom.github.com/a/NNNHMjBq 2. Navigate to the repository you just created using the newly provided link 3. Click on the green Code button in that repository, and copy the git URL 4. Go to your RStudio Docker container at https://vm-manage.oit.duke.edu/containers/rstudio 5. In RStudio, go to *File* `\(\rightarrow\)` *New Project* `\(\rightarrow\)` *Version Control* `\(\rightarrow\)` *Git* 6. Copy and paste the git URL of your assignment repo into the dialog box labeled *Repository URL*. Adjust the folder to where you want this assignment located. 7. Click *Create Project*, and the files from your GitHub repo will be displayed in the *Files* pane in RStudio. --- ## Push your work to GitHub You've modified some files, saved them, and are ready to update your remote repository on GitHub 1. Prepare your modified files for **commit** by **staging** them in the `Git` tab. 2. Click the **commit** button in the `Git` tab, a new window will open 3. Verify that you're happy with all the changes 4. Enter a short informative message in the **commit** dialog box and hit the **commit** button, close this window 5. In the `Git` tab, click the green up arrow to **push** your work to GitHub --- ## Completed notes I'll post completed notes in the template repository. For example, you'll find `notes_03_solutions.Rmd` in the `notes_03` repository in our GitHub organization. <img src="images/github_org_templates.png">