Dates
Thursday, November 17, 2022 - 1:30pm to 4:30pm
Location
via Zoom

This workshop is in the past and registrations are unavailable.

Registration dates
closed Wednesday, November 16, 2022 - 6:00am

If you register and then realize you cannot attend, you must cancel by Thursday, November 10, 2022 - 11:59pm to avoid a $25 non-attendance fee applied to your library account in accordance with SFU Library's Cancellation Policy.

All times are Pacific Time Zone (Vancouver, BC, Canada).

About the workshop

This in-person workshop for intermediate R users will show you how to leverage dplyr (a package in tidyverse) to more effectively filter, transform, and aggregate your data. If you've used R before, then you know that getting base R to transform data into a form needed for your analysis is usually a challenge, with complex blocks of code to perform what should be simple operations. Luckily for us, dplyr is designed to help easily express these operations so that what is essentially a simple data transformation only requires simple code.
 
This workshop assumes that you are already comfortable in base R. For example, you should be able to: 
  • Import data from a CSV or text file 
  • Extract and create columns in a data frame, and filter rows according to different conditions 
  • Write an R script that can run on its own without manual user intervention.

By the end of the workshop you will be able to: 

  • Use the primary dplyr functions for selecting, mutating, filtering, summarizing, and re-ordering data 
  • Recognize existing complicated base R code blocks and simplify them down using dplyr 
  • Use tidyr (a tidyverse package) to easily reshape data both to and from long and wide formats. 

Requirements

Bring your own laptop with R and R studio installed.

 

  Note: This in-person workshop is now delivered by Zoom. All registrants have been notified. Please email research-commons@sfu.ca if you need the Zoom link.
Facilitator(s)
Catherine Deng
Sina Nazeri

Import this workshop into a calendar