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 commandremotes::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 runninginstall.packages("remotes")
- Install the
Readings
Data transformation with dplyr
:
- Read “Chapter 3 Data transformation” from “R for Data Science” 2nd Edition. To be able to follow today’s lecture, you need to read this chapter!
- dplyr Cheat Sheet
- dplyr Documentation
Class materials
Run the code below in your console to download today’s materials: usethis::use_course("css-materials/data-transformation")