Help and resources
Help for each R worksheet comes first, then the course documents, the worksheets to download, and the software you install. If you are just getting started, follow Getting started first.
Steps on this page
Help for each R worksheet
Each R worksheet has a help page, with what to do when a step goes wrong, and a risks guide, with the traps on that job.
| Worksheet | When a step goes wrong | Traps on this job |
|---|---|---|
| Data Wrangling (Chapter 11) | Data Wrangling help | Data Wrangling risks |
| Describing Data (Chapter 12) | Describing Data help | Describing Data risks |
| Inferencing Data (Chapter 13) | Inferencing Data help | Inferencing Data risks |
If your research question or hypothesis names only one variable, When Your Question Has One Variable shows the test that fits, or why none does.
If your worksheet was downloaded before the new layout, Move your work to the new worksheet shows how to copy your answers into it.
For a problem outside the worksheets, see Something broken? below.
Course documents
Syllabus Contract
5 min
Download the PDF for your course, fill it in, sign it, and upload it to Blackboard. A photo or scan of a printed copy is fine.
AI-use Log
The log you submit with each assignment that asks for it, with an entry for each time an AI tool shaped the work.
Annotated Manuscript Example
15 min
An example of a properly annotated research article, showing the critical reading protocol.
Assignment Templates
Section-by-section guides with the points, the checks that cost points, and a weaker and a stronger example for each section.
Worked Examples
A finished submission for six assignments, so you can see the form before you write yours. Each assignment’s page links its own example beside the rubric.
MC 451 Definitions Practice (PDF) MC 451 Project Prospectus (PDF) MC 451 Codebook and Qualitative Memo (PDF) MC 501 Definitions Practice (PDF) MC 501 Research Proposal (PDF) MC 501 Extended Codebook and Reliability Protocol (PDF)
R Cheat Sheets
One page per package covering every R command the course uses: a plain sentence per command, a worked example on the Twitch data with the exact output R prints, the same call for your own columns, and the error you are most likely to hit.
Cheat-sheet index readr dplyr lubridate stringr ggplot2 stats Reliability
Step-by-step guides
Numbered click paths with screenshots for the R Companion, Quarto, Git, and publishing your site. Each guide pairs with a walkthrough video where one exists.
Get the course workspace
Your VS Code course workspace holds your journals, notes, and project files in one Git-tracked folder. You do not download a ZIP: open the template on GitHub, click Use this template to create your own copy, then clone it into VS Code.
Use the template on GitHub Setup guide
What’s inside: 00_inbox (quick capture), 01_journal (weekly reflections), 02_literature (reading notes), 03_project (prospectus, codebook, data, drafts), 04_resources (attachments), and _templates (journal and codebook templates).
Something broken?
Four problems have come up across the course. The Fix It page has each one in plain steps: strange characters when you run a cell, a missing Git: Clone command, an install that ends in “there is no package called v2v”, and an install that will not finish when you need R for class. For that last one, open your own workspace repository on github.com and click Code, then Codespaces, then Create codespace on main: R, the course packages, and the R Companion are already installed there.
Check your setup
With the AURA Lab R Companion installed, run AURA: Check my setup from the Command Palette. Run it whenever something stops working, not only in week one.
Without the R Companion, 00-check-your-setup.qmd walks you through every install, one gray box at a time, and tells you what each box should print. Save it into your workspace folder and open it in VS Code.
Download 00-check-your-setup.qmd
Commit your work to GitHub
01-commit-your-work.qmd walks you through saving, staging, committing, and pushing, with what you should see at every step and what to do when it does not happen. Save it into the top folder of your workspace, next to README.md. The guide Put a Worksheet in Your Workspace shows how, step by step: MC 451 or MC 501.
Getting that file onto GitHub is itself the check: it is deliberately not in the workspace template, so if it appears in your repository, you put it there.
Download 01-commit-your-work.qmd
Coding the codebook (Chapter 9)
09-coding-the-codebook.qmd walks you through creating your White Paper project, moving your codebook into it, and taking a first look at the example data, with what each step should print. Save it into the top folder of your workspace, next to README.md. The guide Put a Worksheet in Your Workspace shows how, step by step: MC 451 or MC 501.
Wrangling the data (Chapter 11)
11-wrangling-data.qmd is the Data Wrangling worksheet, part 1 of the Twitch job: you hand-code thirty messages, then import, diagnose, convert, join, and save one clean .RDS file. The routine code is written for you, the core steps are blanks you fill, and each step says what it should print. Save it into the top folder of your workspace, next to README.md. The Data Wrangling risks guide shows the traps on this job.
- Click the Download button below. Your browser saves the file to your Downloads folder.
- Open your File Explorer (Windows) or Finder (Mac), find
11-wrangling-data.qmdin Downloads, and drag it into your course workspace folder, the one withREADME.mdin it. In VS Code it now shows in the Explorer on the left, besideREADME.md. - Click it in VS Code’s Explorer to open it.
The guide Put a Worksheet in Your Workspace shows how, step by step: MC 451 or MC 501.
Download 11-wrangling-data.qmd
Describing the data (Chapter 12)
The Describing Data worksheet is part 2 of the Twitch job. It loads the twitch_analysis.RDS file you saved in part 1, with your thirty hand-coded messages inside, and walks you through frequency tables, means and medians, a cross-tabulation, and three figures. The routine code is written for you, the core steps are blanks you fill, and each step says what it should print. Save it in the same folder as the Data Wrangling worksheet, the top folder of your workspace. The guide Put a Worksheet in Your Workspace shows how, step by step: MC 451 or MC 501. Download the one for your course. The Describing Data risks guide shows the traps on this job.
Download the MC 451 worksheet Download the MC 501 worksheet
Testing the data (Chapter 13)
The Inferencing Data worksheet is part 3 of the Twitch job. You write four hypotheses first, then run four tests on the same twitch_analysis.RDS file, one of them on the thirty messages you hand-coded, and report how big each result is. The routine code is written for you, the core steps are blanks you fill, and each step says what it should print. Save it in the same folder as the other two worksheets, the top folder of your workspace. The guide Put a Worksheet in Your Workspace shows how, step by step: MC 451 or MC 501. Download the one for your course. The Inferencing Data risks guide shows the traps on this job.
Download the MC 451 worksheet Download the MC 501 worksheet
Publishing your White Paper (Chapter 14)
14-publishing-your-paper.qmd walks you through giving your Results chapter its data, writing numbers and a figure that come from the code, installing the PDF tool, rendering the whole paper, and publishing it to GitHub Pages, with what each step should print. Save it into the top folder of your workspace, next to README.md. The guide Put a Worksheet in Your Workspace shows how, step by step: MC 451 or MC 501.
Download 14-publishing-your-paper.qmd
Codebook templates
One template per course, with a heading for every part the rubric grades and a fill-in table you repeat for each variable. Use it directly as your codebook/codebook.qmd or as inspiration for your own layout.
Required software
Install these in Week 2. All are free.
VS Code
Your single workspace for writing, R, Quarto, and Git.
Free
R
Statistical analysis and visualization, run inside VS Code.
Free
Quarto
Turns your .qmd files into finished documents. This is the program, not the VS Code extension of the same name. You need both.
Free
Git & GitHub
Version control for your work and your White Paper.
Free
GitHub Desktop (optional)
A visual Git interface if you prefer buttons to the command line.
Free
AURA Lab R Companion (recommended)
The VS Code extension the step-by-step guides use. Its commands start with AURA: in the Command Palette, and its icon in the left bar is labeled AURA Lab R Companion. Install from the Extensions view: search AURA Lab R Companion.
Free
Make VS Code your own
Once the tools are installed, spend a few minutes owning your editor. These guides go deeper than setup.
Customizing VS Code
15 min
Themes, settings, keyboard shortcuts, and profiles, so the editor fits how you work.
GitHub Education Copilot
15 min
Claim the free student plan and use Copilot as a supervised code-completion aid.
Learning templates
Ready-to-use templates live in your course workspace under _templates/.
- Weekly journal template reflects on your learning using one of three thinking paths: the Connector (how does this relate to what I know?), the Troubleshooter (what problems did I solve?), and the Critic (does this match my experience?).
- Data dictionary / codebook template defines your variables in Phase III, with columns for variable name, definition, type, allowed values, and examples.
FAQ
Q: Do I need to buy the textbook? No. From Vibes to Variables is free and open access. Read it online.
Q: Can I use RStudio or another editor instead of VS Code? This course standardizes on VS Code so everyone shares one environment and one set of instructions. Learning it deeply is part of the course.
Q: Do I need a separate note-taking app? No. Your notes live as Markdown files in the course workspace. Keeping everything in VS Code is the whole point.
Q: Where do I turn in my work? Submit everything in Blackboard. Committing to GitHub is your backup, not your submission.
Q: Can I work with classmates? You may talk through ideas with classmates, but your coding, analysis, and writing are your own. You are the only coder on your project.
Q: What if I fall behind? Reach out to Dr. Leith early. The phases are structured but timelines can flex.
More help
- Setup: Getting Started walks through the whole install in 30 to 45 minutes.
- Concepts: the relevant textbook chapter usually explains it.
- Email: aleith@siue.edu (allow 24 hours Mon-Fri).
- Office hours: TuTh 12:30 to 1:45 PM in person, Dunham Hall 1017, or remote Tu/W/Th 3:00 to 5:00 PM by appointment.
Check your own work
Four pages built for this course. Each one runs in your browser: no account, no install, nothing uploaded, and nothing you paste is seen by anyone. They check structure and arithmetic, they never grade, and using one is not required.
- Codebook Check reports what your codebook is missing against what the assignment asks for, including category pairs that may overlap.
- Agreement Check takes two columns of codes and returns percent agreement, the reliability statistic, and the items the two passes split on. It handles one coder at two times, which is the stability this course asks for.
- Inside VS Code, the R Companion’s Data > Reliability: compare two coding passes (version 0.7.2) does the same from your own CSV file or table and writes the R code for your script. Guide 07 for MC 451 and for MC 501 walk the check line by line.
- Sampling Check turns your own coding rate into a corpus size, sizes the reliability subset, and reports the smallest effect that sample could find.
- Inferential Check recomputes your chi-square or t test from your own numbers and gives you the APA sentence to check your write-up against.
- Inside VS Code, the R Companion’s AURA: Write R code, under R4 Test, runs the four tests in your script, and its APA numbers to check your sentence prints the numbers in APA form. Inferential Check stays a second opinion on the numbers.
Third-party learning resources
- R for Data Science is a free, well-written R guide.
- Happy Git and GitHub for the useR covers Git for R users.
- The Markdown Guide is a concise Markdown reference.