Selecting columns
module 3
week 4
columns
relocate
rename
select
Select, move, and rename columns
We’ll start our data wrangling by cleaning up the columns of our data. We’ll use {dplyr} functions to select, move, and rename columns.
Learning objectives
- Select a subset of columns
- Move columns within the data set
- Rename columns
Pre-meeting
To prepare for this class meeting, please do the following:
- Read R4DS2 4.3.2 - 4.3.4
Class meeting
Homework after the class meeting
Wrap up this lesson
- Complete the exercises
For next class meeting
- Read R4DS2 4.3.1