Michael Gelman (mgelman@cmc.edu), Claremont McKenna College
Textbook: Modern Data Science with R (1st edition)
- Syllabus
- GitHub reference
- Additional free resource: R for Data Science
- Test assignment (due 09/05)
- Problem Set 1 (due 09/16)
- Problem Set 2 (due 09/25)
- Team Project 1 (due 09/30)
Tuesday (intro, GitHub, test assignment)
- before class:
- Try to set up R, RStudio, Git, GitHub account (See GitHub reference)
- in class:
- day 1 slides: .Rmd .html
- test assignment
Thursday (reproducibility, R Markdown)
- before class:
- complete test assignment and push both .rmd and .md files to GitHub.
- read MDSR Chapter 1 and Appendix D
- Start looking at PS 1
- in class:
Tuesday (R objects, R functions)
- before class:
- read MDSR Appendix sections B.4, B.5 and C.2
- read Grolemund/Wickham sections 20.2 Vector Basics, 20.3 Types of Vectors (focus on logical, numeric), and 20.5 Lists
- in class:
Thursday (ggplot2 graphics)
- before class:
- read MDSR sections 3.1 and 3.2. Section 3.3 contains some
dplyrwork that I will save for discussion in chapter 4. - read Grolemund/Wickham sections 3.1 - 3.5
- Reminder: PS 1 due on Monday
- read MDSR sections 3.1 and 3.2. Section 3.3 contains some
- in class:
Tuesday (more ggplot2 and start interactive graphics)
- before class:
- little more ggplot: read Grolemund/Wickham sections 3.6 - 3.10
- just read pages 324-325 in MDSR to get a feel for map projections. For now we will just be working with simple maps that only need lat/long and build-in map boundries.
- quick read MDSR sections 11.1-11.3 in chapter 11 to get a "big picture" idea of some of the interactive graphing options in R.
- get started looking over this Shiny demo that explains some basic elements of interactive graphs with Shiny (more about this on Thu)
- Start on PS 2
- Read about Volfefe index, Volfefe index words
- in class:
Thursday (shiny interactive graphics)
- before class:
- Reminder: PS 2 due on Wed
- in class:
shinyinteractive graphics
Tuesday (Introduction to dplyr)
- before class:
- go over the day 6 activity and example solution graphs (posted above)
- read MDSR sections 4.1 and 4.2
- in class: basic data wrangling with
dplyr
Thursday (Work on Team Project 1)
- before class:
- Make sure you have your Team Project 1 partners
- in class:
- Work with partners on Team Project 1
- Ask any questions realted to material up to this point
Tuesday (Joins in dplyr)
- before class:
- go over the day 7 activity solutions
- read MDSR section 4.3 and 4.4
- get started with PS 3
- in class:
Thursday (Data intake)
- before class
- read MDSR sections 5.5.3 and 5.5.4 (we'll come back to the other sections after the exam)
- read Grolemund/Wickham chapter 16 - focus on sections 16.2 and 16.3.
- in class