Selecting columns

module 3
week 4
columns
relocate
rename
select
Select, move, and rename columns
Author

Jeff Stevens

Published

February 13, 2023

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:

Class meeting

  • Subsetting columns
  • Moving columns
  • Renaming columns
  • Slides and Code

Homework after the class meeting

Wrap up this lesson

For next class meeting