Lec13 Intro to Data Manipulation
We introduce the Five Main Verbs (5MV) for data manipulation. Today: select() columns i.e. variables and filter() rows.
Announcements
- Lec12 learning check discussion
- Switch gears to new part of data/science pipeline: Tidy/Transform
dplyr
cheatsheet:- Handout in class
- Also accessible from RStudio -> Menu Bar -> Help -> Cheatsheets -> Data Manipulation with
dplyr
andtidyr
- What if men and women voted in separate elections? Which states switched? Code
In-Class
- Slides: the Five Main Verbs (5MV) for data manipulation AKA data wrangling
- Chapter 5 up to, but not including Section 5.1.3 of textbook on
select()
andfilter()