All Projects → cwickham → Purrr Tutorial

cwickham / Purrr Tutorial

Licence: other
A introduction to purrr

Programming Languages

r
7636 projects

Projects that are alternatives of or similar to Purrr Tutorial

Advanced R
One day course covering functions, functional programming and tidy evaluation
Stars: ✭ 38 (-82.88%)
Mutual labels:  tutorial, training, rstats
Data Science In Tidyverse
Data Science in the tidyverse, a two-day workshop @ rstudio:conf(2018)
Stars: ✭ 132 (-40.54%)
Mutual labels:  tutorial, training, rstats
Ggplot Courses
👨‍🏫 ggplot2 Teaching Material
Stars: ✭ 40 (-81.98%)
Mutual labels:  tutorial, rstats
D3
This is the repository for my course, Learning Data Visualization with D3.js on LinkedIn Learning and Lynda.com.
Stars: ✭ 64 (-71.17%)
Mutual labels:  tutorial, training
Reactinterface
This is the repository for my course, Building a Web Interface with React.js on LinkedIn Learning and Lynda.com.
Stars: ✭ 113 (-49.1%)
Mutual labels:  tutorial, training
Rmarkdown Website Tutorial
Tutorial for creating websites w/ R Markdown
Stars: ✭ 26 (-88.29%)
Mutual labels:  tutorial, rstats
Bootstrap
Repository for my tutorial course: Bootstrap 3 Essential Training on LinkedIn Learning and Lynda.com.
Stars: ✭ 14 (-93.69%)
Mutual labels:  tutorial, training
Go Collection
🌷 awesome awesome go, study golang from basic to proficient
Stars: ✭ 1,193 (+437.39%)
Mutual labels:  tutorial, training
Bootstrap4
Repository for my tutorial course: Bootstrap 4 Essential Training on LinkedIn Learning and Lynda.com.
Stars: ✭ 142 (-36.04%)
Mutual labels:  tutorial, training
Expressjs
This is the repository for my course, Building a Website with Node.js and Express.js on LinkedIn Learning and Lynda.com.
Stars: ✭ 143 (-35.59%)
Mutual labels:  tutorial, training
Sassessentials
Repository for my tutorial course: Sass Essential Training on LinkedIn Learning and Lynda.com.
Stars: ✭ 167 (-24.77%)
Mutual labels:  tutorial, training
Javascripttraining
Training course repository for JavaScript
Stars: ✭ 658 (+196.4%)
Mutual labels:  tutorial, training
Electron
This is the repository for my course, Electron: Building Cross Platform Desktop Apps on LinkedIn Learning and Lynda.com.
Stars: ✭ 69 (-68.92%)
Mutual labels:  tutorial, training
React Workshop
The course material for our React Hooks workshop
Stars: ✭ 184 (-17.12%)
Mutual labels:  tutorial, training
Training Material
A collection of Galaxy-related training material
Stars: ✭ 184 (-17.12%)
Mutual labels:  tutorial, training
Improved Body Parts
Simple Pose: Rethinking and Improving a Bottom-up Approach for Multi-Person Pose Estimation
Stars: ✭ 202 (-9.01%)
Mutual labels:  tutorial, training
Tutorials
AI-related tutorials. Access any of them for free → https://towardsai.net/editorial
Stars: ✭ 204 (-8.11%)
Mutual labels:  tutorial
Modern Graphql Tutorial
📖 A simple and easy GraphQL tutorial to get started with GraphQL.
Stars: ✭ 219 (-1.35%)
Mutual labels:  tutorial
Google Dotnet Samples
Unoffical Samples for the Google APIs .Net client library.
Stars: ✭ 217 (-2.25%)
Mutual labels:  tutorial
Awesome React Native Web
💙 React Native Web patterns, techniques, tips, and tricks ✨
Stars: ✭ 215 (-3.15%)
Mutual labels:  tutorial

A purrr tutorial

This repo hosts the materials for a purrr tutorial. The materials currently reflect the version planned for the useR! Brussels, Belgium, July 2017.

Upcoming in-person tutorials

Older versions of the materials, from prior in-person tutorials, are also available:

Outline

Code with a lot of duplication is harder to understand, troubleshoot and maintain. The goal of this tutorial is help you remove duplication in your code by using functions that write for loops for you.

You'll learn to use the functions in the purrr package to perform iterative tasks: tasks that look like "for each _____ do _____".

By the end of the tutorial you'll be writing code that is more readable and easier to update and you'll be ready to solve new iteration problems faster and with fewer mistakes.

Learning Objectives

By the end of the tutorial, you'll be able to:

  • Move from solving a problem on a single element, to iterating that solution over many elements with map().
  • Identify when to use the typed variants of map(): map_lgl(), map_int(), walk() etc.
  • Iterate over two arguments with map2().
  • Leverage purrr to get list data into tibbles.
  • Use purrr to work with list columns in tibbles.

Pre-requisites

Don't worry if you have never written a for loop, used lapply(), written your own function or heard of a tibble, this tutorial is designed to be accessible to beginners.

That said, you should be familiar with exploring and subsetting the basic data structures in R including lists and data frames.

This is a hands-on tutorial, you'll need your laptop with R installed, as well as a few packages:

install.packages("tidyverse")

# install.packages("devtools")
devtools::install_github("jennybc/repurrrsive")

License

Creative Commons License
This purrr tutorial by Charlotte Wickham is licensed under a Creative Commons Attribution-NonCommercial 4.0 International License.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].