Website and slides were created using the workshop template from Jadey Ryan.
Opinions expressed are solely my own and do not express the views of my employer or any organizations I am associated with.
This work is licensed under Creative Commons Attribution-NonCommercial-ShareAlike 4.0 International (CC BY-NC-SA).
Data scientist at WA Dept of Agriculture
The Coding Cats: cat & code themed merch
Login to Posit Cloud workspace: bit.ly/rladies-parameterized-quarto.
If Posit Cloud doesn’t work, download materials locally:
Ask questions in the public Zoom chat or raise hand ✋.
Workshop structure: presentation, demos/exercises, questions to answer in 💬 Chat.
💬 Chat: share your name, where you’re calling from, and one thing you’ve made that you’re proud of.
01:00
2014+ magrittr pipe %>%
2021+ (R \(\geq\) 4.1.0) native R pipe |>
Isabella Velásquez’s blog post Understanding the native R pipe |> (2022)
To change shortcut to the native pipe:
Tools
→ Global Options
→ Code
→ Editing
→ Use Native Pipe Operator
Windows: Ctrl
+ Shift
+ M
Mac: Cmd
+ Shift
+ M
Slide adapted from R/Medicine Data Cleaning 2023 Workshop
package::function()
dplyr::select()
tells R explicitly to use the function select
from the package dplyr
helps avoid name conflicts (e.g., MASS::select()
)
does not require library(dplyr)
Slide adapted from R/Medicine Data Cleaning 2023 Workshop
Tools
→ Global Options
→
Fussy YAML indentation:
Code
→ Display
→ Indentation guides:
→ Rainbow lines
Match parentheses:
Code
→ Display
→ Indentation guides:
→ Check Use rainbow parentheses
Matching divs:
R Markdown
→ Advanced
→ Check Use rainbow fenced divs
Parameterized Reporting with Quarto // jadeyryan.quarto.pub/rladies-abuja-quarto-params/