Skip to main content
HomeR

Course

Foundations of Functional Programming with purrr

IntermediateSkill Level
4.7+
86 reviews
Updated 01/2026
Learn to easily summarize and manipulate lists using the purrr package.
Start Course for Free
RProgramming
4 hr
13 videos
44 Exercises
3,750 XP
11,273
Statement of Accomplishment

Create Your Free Account

Continue with GoogleShow more options

or


By continuing, you accept our Terms of Use, our Privacy Policy and that your data is stored in the USA.

Loved by learners at thousands of companies

Group

Training a Team?

Try for Business

Course Description

Lists can be difficult to both understand and manipulate, but they can pack a ton of information and are very powerful. In this course, you will learn to easily extract, summarize, and manipulate lists and how to export the data to your desired object, be it another list, a vector, or even something else! Throughout the course, you will work with the purrr package and a variety of datasets from the repurrrsive package, including data from Star Wars and Wes Anderson films and data collected about GitHub users and GitHub repos. Following this course, your list skills will be purrrfect!

Prerequisites

Introduction to the TidyverseIntermediate R
1

Simplifying Iteration and Lists With purrr

Iteration is a powerful way to make the computer do the work for you. It can also be an area of coding where it is easy to make lots of typos and simple mistakes. The purrr package helps simplify iteration so you can focus on the next step, instead of finding typos.
Start Chapter
2

More complex iterations

purrr is much more than a for loop; it works well with pipes, we can use it to run models and simulate data, and make nested loops!
Start Chapter
Foundations of Functional Programming with purrr
Course
Complete

Earn Statement of Accomplishment

Add this credential to your LinkedIn profile, resume, or CV
Share it on social media and in your performance review
Enroll Now

Don’t just take our word for it

*4.7
from 86 reviews
77%
23%
0%
0%
0%
  • julio
    last week

  • Riya
    3 weeks ago

    good

  • Miha
    4 weeks ago

  • Takuya
    4 weeks ago

  • Mohammed
    4 weeks ago

  • Napaporn
    4 weeks ago

julio

Mohammed

Napaporn

FAQs

What does the purrr package do that basic R loops cannot?

The purrr package simplifies iteration with cleaner syntax, reduces common typos, works naturally with pipes, and provides consistent tools for extracting and transforming list data.

What datasets are used in this course?

You work with datasets from the repurrrsive package, including Star Wars character data, Wes Anderson film palettes, and data about GitHub users and repositories.

Do I need experience with lists in R before starting?

Basic familiarity with R lists helps, but the course is beginner level. You need intermediate R skills and tidyverse knowledge to get the most from the material.

Does the course cover troubleshooting and debugging list operations?

Yes. Chapter 3 is entirely dedicated to troubleshooting list issues with purrr, teaching you to identify and fix problems that commonly arise when working with complex list structures.

Will I learn to use purrr for running models and simulating data?

Yes. Chapter 2 shows how purrr goes beyond simple loops by demonstrating its use for running models, simulating data, and creating nested iteration patterns.

Join over 19 million learners and start Foundations of Functional Programming with purrr today!

Create Your Free Account

Continue with GoogleShow more options

or


By continuing, you accept our Terms of Use, our Privacy Policy and that your data is stored in the USA.

Grow your data skills with DataCamp for Mobile

Make progress on the go with our mobile courses and daily 5-minute coding challenges.