Central course website for MC 451 Research Methods in Mass Media and MC 501 at Southern Illinois University Edwardsville. The Hub ties together the textbook, the R workbook, the v2v R package, and the course workspace into a single VS Code-first site.
From Vibes to Variables (V2V) is the AURA Lab's open methods package for teaching media research at Southern Illinois University Edwardsville. Its parts are built to be used together:
- Textbook (source): the open textbook that carries the arc from research question to published report.
- Course hub (source, this repository): the course website for MC 451 and MC 501 that sequences the textbook, the labs, and the setup guides.
- v2v R package: the companion package with the Twitch practice corpus and the helpers the textbook introduces chapter by chapter.
- Course workspace: the VS Code template students copy for journals, reading notes, and project work.
- R Companion: the VS Code extension that checks each student's R setup, installs what is missing, and explains common R errors.
A sibling template, mc427-codespace, gives MC 427 Social Media Analytics the same VS Code and R toolchain in a GitHub Codespace; the R Companion serves MC 427 as well, and the v2v package is not used there.
Instructor: Dr. Alex P. Leith (aleith@siue.edu)
Students in this course are first-time researchers and first-time coders. To keep the cognitive load low, everything happens in one tool, VS Code: writing (Markdown), analysis (R), rendering (Quarto), and version control (Git). There is no separate note-taking app and no personal-knowledge-management layer to learn. Optional GitHub Education Copilot provides supervised code completion.
| Section | Description |
|---|---|
| Home | Course overview, quick-start cards, ecosystem map |
| Syllabus | MC 451 and MC 501 (Fall 2026) |
| Phases | Five progressive modules: Journalist, Architect, Builder, Analyst, Publisher |
| Workbook | 7-lab R workbook (embedded) |
| Course Workspace | VS Code template repo: journals, project folders, Git |
| Resources | Software install guides, VS Code customization, Copilot, FAQ |
| Phase | Role | Focus | Chapters |
|---|---|---|---|
| I | The Journalist | Reading journals, critical thinking, GitHub setup | 1 to 3 |
| II | The Architect | Literature, theory, the research prospectus | 4 to 6 |
| III | The Builder | Qualitative immersion, codebook, data collection | 7 to 9 |
| IV | The Analyst | Sampling, data wrangling, visualization | 10 to 12 |
| V | The Publisher | Statistical inference, the one-click report | 13 to 14 |
The workbook lives inside the site at workbook/ with a docked sidebar. The labs use the v2v R package and its sampled Twitch chat/stream corpus.
| Lab | Title |
|---|---|
| 1 | Building Your Quantitative Codebook |
| 2 | Data Collection: Consistency at Scale |
| 3 | Meet R |
| 4 | Data Wrangling: Import, Diagnose, Clean, Export |
| 5 | Describing Data: Tables and Visualizations |
| 6 | Inferencing Data: Testing Relationships |
| 7 | Publishing Your Research: Quarto + GitHub Pages |
-
Quarto (v1.4 or later)
-
R (>= 4.1) with the
v2vpackage installed (the workbook labs execute R code):# install.packages("remotes") remotes::install_github("AURA-Lab-SIUE/v2v-r")
quarto renderOutput goes to docs/. Open docs/index.html in your browser. Use quarto preview for live reload.
Run the pre-merge check from the repository root. It renders the whole site, then checks what GitHub Pages would receive:
quarto run tools/predeploy-check.tsAdd --no-render to check a docs/ folder you have already rendered. The check exits with an error, and lists every problem, when:
- the site is over 150 MB in total, or any single file is over 4 MB;
- a slide deck loads anything from the network, so it would not open offline in the classroom;
- a slide deck is missing an AURA font (Archivo, Newsreader, Spline Sans Mono) or still carries the unused Source Sans Pro faces.
Every pull request runs the same check on GitHub (.github/workflows/pr-check.yml), and the deploy workflow runs it again before uploading, so a pull request that fails it should not be merged. The budgets and the reasons for them are at the top of tools/predeploy-check.ts; change a budget there, deliberately, with the reason beside it.
Why it exists: Quarto embeds every font into each self-contained deck, and its RevealJS theme always adds Source Sans Pro, which these decks never use. That font was about 3 MB per deck and more than half of a 238 MB site, while deploys were failing. decks/strip-unused-fonts.ts now removes it after every render (the post-render step in _quarto.yml).
The Hub uses the moderated AURA Lab design system (custom-styling.scss): the lab's violet + amber palette and Source Sans 3 / Source Serif 4 type on a warm chalk reading surface, with the AURA dark canvas as a toggle. It is a calmer variant of the lab's public identity, tuned for long reading and daily coursework, and every color pair meets WCAG 2.1/2.2 AA. Tokens are kept in sync with the textbook's _brand.yml.
This work is licensed under a Creative Commons Attribution 4.0 International License.