Event box

Data wrangling in R: Working with dates and strings

THIS WORKSHOP WILL BE HELD VIRTUALLY VIA ZOOM. A link will be sent out within 24 hours of the workshop.

This workshop provides a practical introduction working with date/time and string variables in R.

This workshop assumes experience and comfort with using R for data analytic work. If you are new to R, you should start with the "First Steps in R," "Second Steps in R," and "Manipulating Data in R using the Tidyverse" workshops.

Software Used: R, RStudio


This workshop covers:

  • Using the lubridate and stringr packages to work with dates and strings, respectively
  • Formatting dates and times 
  • Parsing dates
  • Calculating time spans
  • Converting time spans (e.g., hours to minutes)
  • Trimming whitespace from character strings
  • Searching and replacing within character strings
  • Regular expressions
  • Pattern matching and extracting text of interest
Thursday, June 17, 2021
1:00pm - 3:00pm
Time Zone:
Eastern Time - US & Canada (change)
Zoom (Online Only)
  Marx Science and Social Science Library (Formerly CSSSI)     Data     Statistical Support  

Registration is required. There are 33 seats available.

Event Organizer

Sara Gottlieb-Cohen