Data Wrangling in R with dplyr and tidyr
It’s rare that a data set arrives in the exact form we need it to be in for a given analysis or visualization. Data wrangling and manipulation are perennial parts of researchers’ and analysts’ work. This workshop will discuss and illustrate fundamental data-wrangling procedures in R, primarily using the dplyr and tidyr packages (both part of the “tidyverse”). Topics will include: subsetting observations and variables; grouping data and summarizing groups; mapping custom functions to groups; creating variables (including as functions of other variables); joining and merging data; and reshaping data (from wide to long and from long to wide). We will use R Markdown throughout the workshop. To participate in this workshop, you should have R and RStudio installed and have basic familiarity with both. If you're unfamiliar with the basic syntax of R, we recommend participating in an introductory workshop or class before participating in this workshop. UVA Library Research Data Services offers a “Getting Started with R” workshop; in spring 2023, that will be offered on January 26th at 10:00 AM. Alternatively, you might consider Data Carpentry’s Intro to R series. We won’t review the fundamentals of R syntax in this workshop, but if you have questions about the material, or if you need help getting R and RStudio set up, you can reach out to Jacob (firstname.lastname@example.org) in advance.
Click to add to your Calendar! >> Add to a Calendar using iCal
The UVA Library is committed to hosting library events that are inclusive and welcoming to all. If you need certain accommodations to participate fully in this event, please contact email@example.com.