This workshop helps you to step up your R skills with functional programming. The purrr
package provides easy-to-use tools to automate repeated things in your entire R workflow (e.g., wrangling, modeling, and visualization). The end result is cleaner, faster, more readable and extendable code. I highly recommend you to take this workshop (1) if you still write copy-and-paste code, (2) exclusively rely on for loops for automation, and (3) want to know about the joy and power of R functional programming.
-
How to use
purrr
to automate workflow in a cleaner, faster, and more extendable way [Notebook] -
How to use
map2()
andpmap()
to avoid writing nested loops. [Notebook] -
How to use
map()
andglue()
to automate creating multiple plots [Notebook] -
How to use
reduce()
to automate joining multiple dataframes [Notebook] -
How to use
slowly()
andfuture_
to make automation process either slower or faster [Notebook] -
How to use
safely()
andpossibly()
to make error handling easier [Notebook]
- Some experience with writing functions in R
Launch the . Please do so before attending the worskshop as it would take a while (especially, if you do it for the first time).
This work is licensed under a Creative Commons Attribution 4.0 International License.