Skip to content

shannonpileggi/iterating-well-with-purrr

Repository files navigation

Slides

👀 Quarto slides rendered at: https://shannonpileggi.github.io/iterating-well-with-purrr/

Iterating Well With Purrr

An R-Ladies Rabat workshop.

Workshop materials have been adapted from the 2020 RStudio What They Forgot To Teach You About R Workshop.

Abstract

In this workshop we discuss approaches to iteration in R. We briefly discuss iterative techniques that do not require loops or purrr::map_ (for example, group_by, vectorized functions, etc.). Then we explore lists as an object to store information of varying types and sizes and explain how to extract elements from a list via the purrr::map_ family.

Packages

install.packages("tidyverse")
install.packages("repurrrsive")
install.packages("gapminder")