πŸŽ“ Instructor Command Centre

60-minute facilitation guide - Last Class

This page is for Dr. B eyes. Students can read it too as they might want to go over the materials on their on after the semester is over. That said the flow is optimised for Dr. B facilitation.

60-minute plan

Time File What you do Key talking point
0:00–0:05 index.qmd Open story, read hook aloud Set the quest frame; this is class-wide
0:05–0:18 demo.qmd Live narrated demo YAML β†’ chunks β†’ inline R β†’ callouts
0:18–0:33 report.qmd Walk through EDA + tidymodels sections Point at reproducibility at each step
0:33–0:43 slides.qmd Render and present the deck Show Space key navigation; swap a theme live
0:43–0:55 missions.qmd Class reflection + debrief prompts Collect all four fragments together
0:55–1:00 Final reveal Read the toolkit definition aloud Close the quest narrative

Before-class checklist

install.packages(c("tidyverse", "tidymodels", "GGally", "patchwork"))

Segment-by-segment notes

Stage 0 Β· RStudio Intro (10 min)

Show what RStudio looks like and how to navigate it.

Stage 1 Β· demo.qmd (13 min)

Have source open left, HTML preview right. Narrate the render loop.

Key moments: 1. YAML β€” swap cosmo β†’ darkly live. Students gasp every time. 2. Inline R β€” β€œThe sentence updates when the data updates. No copy-paste.” 3. code-fold: show β€” click the code triangle. Show them the toggle. 4. Callout types β€” ask students which type they would use for a model limitation disclaimer.


Stage 2 Β· report.qmd β€” EDA section (10 min)

Key moments: 1. glimpse() and other exploration functions β€” β€œThis replaces opening Excel to β€˜get a feel’ for the data.” 2. Pair plot β€” point at the correlation between clues_solved and final_treasure. [not covered in class but useful in real life] 3. Box plots by major β€” β€œWhich major would you want to hire based only on this chart?”


Stage 3 Β· report.qmd β€” Tidymodels section (10 min)

Key moments: 1. The workflow pipeline β€” draw split β†’ recipe β†’ spec β†’ workflow β†’ fit β†’ predict β†’ evaluate on the whiteboard or annotate on screen. 2. RMSE β€” ask a student to explain RMSE in plain English before revealing the value. 3. Diagnostic charts β€” residuals vs fitted: β€œWhat pattern tells us the model is wrong?” Predicted vs actual: β€œPerfect model β†’ dots on the diagonal.”


Stage 4 Β· slides.qmd (10 min)

Open rendered .html fullscreen.

Key moments: 1. Press F for fullscreen, Space to advance. 2. Show the source .qmd side by side for 30 seconds β€” β€œThis is all it takes.” 3. Change theme: simple β†’ theme: moon and re-render live (~15 seconds). Students can suggest the theme. 4. Ask: β€œWhat slide would YOU add to describe your major’s relationship with data?”


Stage 5 Β· Final chamber (12 min)

Open missions.qmd. Read the four fragments aloud together.

Debrief prompts (pick 2–3): - β€œWhat would happen to a report you built last semester if the raw data file changed?” - β€œWhen would you choose a website over a PDF?” - β€œWhat is the business value of reproducibility in a professional setting?” - β€œWhere in your career β€” internship, job, grad school β€” would this workflow matter most?”

Close by reading the Golden Data Toolkit definition aloud.


Pirate coding gif