Skip to main content

Foundations of Functional Programming with purrr

Learn to easily summarize and manipulate lists using the purrr package.

Start Course for Free
4 Hours13 Videos44 Exercises7,414 Learners
3750 XP

Create Your Free Account

GoogleLinkedInFacebook

or

By continuing, you accept our Terms of Use, our Privacy Policy and that your data is stored in the USA. You confirm you are at least 16 years old (13 if you are an authorized Classrooms user).

Loved by learners at thousands of companies


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!

  1. 1

    Simplifying Iteration and Lists With purrr

    Free

    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.

    Play Chapter Now
    The power of iteration
    50 xp
    Introduction to iteration
    100 xp
    Iteration with purrr
    100 xp
    More iteration with for loops
    100 xp
    More iteration with purrr
    100 xp
    Subsetting lists; it's not that hard!
    50 xp
    Subsetting lists
    100 xp
    Subsetting list elements
    100 xp
    The many flavors of map()
    50 xp
    map() argument alternatives
    100 xp
    map_*
    100 xp

In the following tracks

Intermediate Tidyverse Toolbox

Collaborators

Chester IsmayBecca Robins
DataCamp Content Creator Headshot

DataCamp Content Creator

Course Instructor

DataCamp offers interactive R, Python, Spreadsheets, SQL and shell courses. All on topics in data science, statistics, and machine learning. Learn from a team of expert teachers in the comfort of your browser with video lessons and fun coding challenges and projects.
See More

What do other learners have to say?

I've used other sites—Coursera, Udacity, things like that—but DataCamp's been the one that I've stuck with.

Devon Edwards Joseph
Lloyds Banking Group

DataCamp is the top resource I recommend for learning data science.

Louis Maiden
Harvard Business School

DataCamp is by far my favorite website to learn from.

Ronald Bowers
Decision Science Analytics, USAA