Welcome!

Jadey Ryan // June 21, 2024
Intermediate Quarto // Cascadia R Conf

While waiting for us to begin…

Open the workshop website and make sure you’ve completed the pre-work and have the required software, packages, and exercises.

jadeyryan.quarto.pub/cascadia-quarto/prework.

usethis::use_course(
  "https://github.com/jadeynryan/parameterized-quarto-workshop/raw/cascadia/exercises/intermediate-exercises.zip"
# , destdir = "C:/Users/jryan/Documents/R/projects"
  )

install.packages(c("dplyr", "fs", "ggplot2", "here", "janitor", "knitr", "lubridate",
                   "plotly", "purrr", "quarto", "readr", "rmarkdown", "stringr", "tidyr"))

If use_course() didn’t work, manually download the zip file from GitHub: github.com/jadeynryan/parameterized-quarto-workshop/tree/cascadia/exercises.

Backup option: Posit Cloud

Join the Posit Cloud Quarto Cascadia workspace and open the Intermediate Exercises project.

Acknowledgements

Cascadia R Conf logo


Workshop structure adapted from:

R/Medicine Data Cleaning 2023 Workshop taught by Crystal Lewis, Shannon Pileggi, and Peter Higgins


ASA Traveling Courses on Quarto taught by Mine Çetinkaya-Rundel and Andrew Bray

Code of Conduct

Please review and abide by: cascadiarconf.com/policies/


💙 Treat everyone with respect and kindness.


💜 Everyone should feel welcome and safe.

Disclaimer and license

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).

Meet Jadey Ryan

Data scientist at WA Dept of Agriculture

The Coding Cats: cat & code themed merch

jadeyryan.com

@jadeynryan

linkedin.com/in/jadey-ryan

jadeynryan

thecodingcats.etsy.com

Three snowshoe siamese cats in loaf mode. From left to right: Tai, Mai, and Skye

Jadey collecting a bulk density soil sample in a field of wheat stubble.

Meet our TA: Lydia Gibson

Photo of Lydia Gibson

Learning objectives

  • Understand what parameterized reporting is and when it is useful.
  • Convert a Quarto document into a parameterized template and render all variations.
  • Generate multiple format outputs from the same template using:
    • conditional content
    • conditional code execution, and
    • custom styling.

Schedule

Time Topic
1:30 - 2:00 Welcome & Parameterizing reports
2:00 - 3:00 Rendering reports
3:00 - 3:30 Break
3:30 - 4:00 Conditional content & code
4:00 - 4:20 Styling reports
4:20 - 4:30 Summary

Workshop structure

Presentation

💃🏻 Demos

💪🏻 Exercises


Let us know how you’re doing by displaying your stickies!

🟦 I’m all good; I’m done.

🟧 I’m a little lost; I could use some help.

💪🏼 Exercise

Meet your neighbors:

  • Your name

  • Your favorite snack 🍎🧀🍦🍫🍿

  • What kinds of reports are you wanting to create after today’s workshop?

05:00