Learn together: Iterating well with purrr
Details
Description:
This is an in-person, informal, facilitated session to learn together.
Bring a laptop with R and RStudio installed to participate. The topic is geared towards folks with R experience, but all are welcome.
Refreshments (pizza and soda) will be provided to fuel the learning.
The learning objectives:
- Describe drawbacks of copying and pasting R code.
- Complete tidyverse style code with the pipe operator (`%>%`).
- Accomplish iteration through vectorized functions.
- Leverage `group_by()` as an iterative technique.
- Explain differences between base R and {purrr} iterative functions.
- Explore lists as an object to store information of varying types and sizes; explain how to extract elements from a list.
- Apply functions from the `purrr::map_` family to perform iteration as an alternative to loops.
COVID SAFETY. Because the pandemic is not over yet, we have a few requests in order to keep everyone safe:
- Please do not come if you are not fully vaccinated (we look forward to seeing you in person as soon as it is safe for everyone to resume normal activities, though!)
- Follow CDC and Philadelphia guidelines on COVID safety
- Bring a mask and wear it when required by the location
About the leader:
Shannon Pileggi PhD is a Data Scientist with more than ten years of experience partnering on data analysis with diverse stakeholders in academic, corporate, tech, public health, and clinical research settings. An enthusiastic educator and statistical collaborator, Shannon started her career in academia as a Lecturer with the Institute for Quantitative Theory and Methods at Emory University, and later as an Assistant Professor at California Polytechnic State University, San Luis Obispo. When she transitioned to industry in 2019, Shannon leveraged open source and community resources to adopt modern programming practices and workflows in R. In 2020, Shannon began to give back to the R community through blogging and developing R-Ladies workshops; she currently serves as a member of the R-Ladies Global Team. Shannon spends her days wrangling data, creating reproducible reports, building shiny apps, developing R packages, and mentoring junior Data Scientists at The Prostate Cancer Clinical Trials Consortium, housed under Memorial Sloan Kettering Cancer Center.