R for data science: custom functions, iteration, and regex
[Online] Part of the Rfun series. R and the Tidyverse are a data-first coding language that enables reproducible workflows. This Introduction to iteration and custom functions uses a case-study approach to present tips and tricks for common operations such as data-scraping, ingesting multiple files, transforming messy data into tidy data, quickly cleaning column names, separating multi-value fields, uniting variable values, and nesting data.
Prerequisite: familiarity with Tidyverse and ggplot (See Rfun quickStart). This workshop will explore efficient alternatives to for-loops by leveraging custom functions and the purrr library functions, e.g. map(). With these skills you can organize data frames for iteration, e.g when ingesting multiple CSV files or multiple Excel worksheets. You will learn nesting techniques that foster iteration. You'll be able to organize data frames that can contain analysis, models, and visualizations.
This event is offered virtually. A zoom link will be sent via email to registered participants.
The content of the workshop may be recorded. If you are uncomfortable with a recording being published, please contact the instructor at anytime prior to the conclusion of the workshop.
- Wednesday, October 26, 2022
- 10:00am - 12:00pm
- Data and Visualization