Link Search Menu Expand Document

Welcome to Data Manipulation with dplyr

Data manipulation is a crucial part of data visualization and analysis. This workshop introduces common functions in the dplyr package to manipulate rows and columns.
See the UBC library Research Commons event calendar for related workshops on various topics.

Prerequisites

This workshop assumes a basic understanding of R language, but all learners are welcome to participate.
Participants are expected to have installed the latest versions of R and RStudio on their computers before the workshop:
Install R from https://cran.rstudio.com/
Install RStudio from https://rstudio.com/products/rstudio/download/#download

Learning objectives

At the end of this workshop, you will be able to:

  1. Understand what the dplyr package is used for
  2. Manipulate rows to select, arrange, and add cases
  3. Manipulate columns to select, arrange, add, and rename variables
  4. Use pipe operator to combine multiple manipulations together

Schedule

0:00 - 0:05 Welcome and using Zoom
0:05 - 0:15 Intro to dplyr
0:15 - 0:30 Manipulating rows
0:30 - 0:45 Manipulating columns
0:45 - 0:55 Combining multiple manipulations
0:55 - 1:00 Recap
1:00 - 1:30 Optional Q&A

Resources