Course Materials

Day 1

What did we cover?

  • What is R exactly?
    • Console, Scripts, Global environment
  • Using R as a calculator
  • Assigning objects
  • What’s a function?
  • Vectors
  • What are different types of variables
  • Tibbles, mutate, filter, select, rename, slice

Class Slides

Day 2

What did we cover?

  • More on working with data we care about
  • Learning how to aggregate data using group_by() and summarize()
  • Cleaning data
  • The wonders of ggplot

Class Slides

Live Coding Data

Class Code

The code we wrote together as a class can be found here

Day 3

What did we cover?

  • More practice with mutate(), group_by(), and summarize()
  • Learning more on how to use the factor() function
  • (Hopefully) Some ggplot()

Class Slides

Olympics Data

Class Code

The code from today’s class can be found here. This largely covers using ggplot().