Lecture 3

Overview

  • Think at programming as a form of problem solving
  • Learn the most important dplyr “verbs” for data manipulation
  • Familiarize with “pipes”
  • Understand and correctly utilize logical operators

Before class

  • This applies ONLY if you have installed R/RStudio locally (ignore this if you are using Workbench):
    • Install the rcis library by running the command remotes::install_github("css-materials/rcis") in your console. We will be using data from this package in class.
    • If you do not already have the remotes library installed, you will get an error. Install it first running install.packages("remotes")

Readings

Data transformation with dplyr:

Class materials

Run the code below in your console to download today’s materials: usethis::use_course("css-materials/data-transformation")