Don’t repeat yourself, talk to yourself! Reporting with R
summary
Argues that turning repetitive reporting into reusable functions, templates and a package removes months of grunt work: code uses the tidyverse (dplyr, janitor, ggplot2), dbplyr for queries, cli for “chatty” console messages and usethis for templates and setup. Builds a package (example: rcno / examsreport) with a setup function and documented vignettes that runs querying demographics data for 2019, centralizes logic, makes runs reproducible, reduces manual edits and frees time for new work.
AI-written summary · about
chapters (16)
- 0:00Start
- 1:24SPSS
- 1:59The reports took all year!
- 3:54Next year arrives
- 7:31I cleaned up after myself
- 7:51Reorganize files
- 8:06Default ordering
- 8:20Setup file
- 8:56I made functions
- 10:08Chatty functions
- 11:08I made code templates
- 11:22Artisanal data doesn't require artisanal code
- 12:05Prescriptive templates
- 13:11Automating templates
- 13:33Why make a package?
- 15:01Repeated reporting in the R universe
related talks
05m3 x packages with single-line calls to boost your productivity
11mField Guide to Writing Your First R Package
17mOddly Satisfying - Find delight in the mundane
10mHow to write a report using R Markdown
20mBuilding a Flexible, Scaleable Self-Serve Reporting System with Shiny
24mLet's play together: Collaborative Data Science
16mEXCELsioR!
18mLevel up! Empowering industry R users with different levels of experience
