Don’t repeat yourself, talk to yourself! Repeated reporting in the R universe - Sharla Gelfand

January 30, 2020 Sharla Gelfand
If you’re responsible for analyses that need updating or repeating on a semi-regular basis, you might find yourself doing the same work over and over again. The principle of "don’t repeat yourself" from software engineering motivates us to use functions and packages, the core of repetition in the R universe. For analyses, it can be difficult to know how to use this principle and move beyond "copying and pasting scripts and changing the data file and the object names and updating the dates and results in RMarkdown", especially when there’s some element of human intervention required, whether it be for validating assumptions or cleaning artisanal data.
 This talk will focus on those next steps, showcasing opportunities to stop repeating yourself and instead anticipate the needs of and communicate effectively with your future self (or the next person with your job!) using project-oriented workflows, clever interactivity, templated analyses, functions, and yes, your own packages.

About the Author

Sharla Gelfand

Sharla Gelfand is an R and Shiny developer and co-organizer of R-Ladies Toronto. Her work focuses on enabling easy access to data and replacing manual, repetitive work with reproducible and future-proof processes in R. Outside of R, Sharla is an eyeshadow aficionado, a shiba inu owner wannabe, a bass player, and a cyclist.

Follow on Twitter More Content by Sharla Gelfand
Previous Video
Best practices for programming with ggplot2 - Dewey Dunnington
Best practices for programming with ggplot2 - Dewey Dunnington

The ggplot2 package is widely acknowledged as a powerful, dynamic, and easy-to-learn graphics framework whe...

Next Video
Extending your ability to extend ggplot2 - Thomas Lin Pedersen
Extending your ability to extend ggplot2 - Thomas Lin Pedersen

The ggplot2 package continue to be one of the most used frameworks for producing graphics in R. While being...