Data wrangling in R: Working with dates and strings
Event box
Data wrangling in R: Working with dates and strings In-Person
This workshop will be held virtually. A Zoom link will be sent within 24 hours of the event.
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
Topics
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
NEW: Any student who participates in at least 3 library workshops during the fall 2021 semester will be eligible for a prize! How it works: Register for a library workshop or tour. After you have attended at least 3, a librarian will contact you with information about how to pick up your prize. Learn more about this incentive program at: guides.library.yale.edu/WorkshopIncentiveProgram.
- Date:
- Friday, October 1, 2021
- Time:
- 10:00am - 12:00pm
- Time Zone:
- Eastern Time - US & Canada (change)
- Location:
- Zoom (Online Only)
- Categories:
- Marx Science and Social Science Library Miscellaneous StatLab