Interactive Course

Foundations of Functional Programming with purrr

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

  • 4 hours
  • 13 Videos
  • 44 Exercises
  • 2,354 Participants
  • 3,750 XP

Loved by learners at thousands of top companies:

dell-grey.svg
ea-grey.svg
3m-grey.svg
rei-grey.svg
ikea-grey.svg
roche-grey.svg

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.

  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!

  3. Troubleshooting lists with purrr

    Like anything in R, understanding how to troubleshoot issues is an important skill set. This can be particularly important with lists, where finding the problem can be tricky.

  4. Problem solving with purrr

    Now that you have the building blocks, we will start tackling some more complex data problems with purrr.

What do other learners have to say?

Devon

“I've used other sites, but DataCamp's been the one that I've stuck with.”

Devon Edwards Joseph

Lloyd's Banking Group

Louis

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

Louis Maiden

Harvard Business School

Ronbowers

“DataCamp is by far my favorite website to learn from.”

Ronald Bowers

Decision Science Analytics @ USAA

DataCamp Content Creator
DataCamp Content Creator

Course Instructor

See More
Collaborators
  • Chester Ismay

    Chester Ismay

  • Becca Robins

    Becca Robins

Icon Icon Icon professional info