R Workbook: Novice to Social Scientist
R Workbook
A hands-on guide to R for content analysis research
Seven chapters take you from building a codebook to publishing a professional White Paper.
Steps on this page
What You’ll Learn
This workbook is your companion for the R programming portion of the course (Phases III to V). Each chapter builds on the previous one, following the same dataset through the full research pipeline: the Twitch corpus that ships inside the course v2v package, 35,267 chat messages and 32,276 stream snapshots drawn from fifty channels between November 18 and 24, 2018.
| Chapter | Title | What You’ll Do |
|---|---|---|
| 1 | Codebook | Turn qualitative observations into numeric codes |
| 2 | Data Collection | Code your full sample with consistency checks |
| 3 | Meet R | Set up R and your VS Code workspace |
| 4 | Data Wrangling | Import, clean, and export your dataset |
| 5 | Describing Data | Build frequency tables and publication-ready charts |
| 6 | Inferencing Data | Run and interpret the course’s statistical tests |
| 7 | Publishing | Assemble your White Paper as a Quarto Book |
How to Use This Workbook
- Read the chapter, then follow along in VS Code; the code blocks are designed to run in order
- Use the class dataset for practice:
library(v2v), thentwitch_chat()andtwitch_streams(), with no file to download - Apply to your own data for the White Paper
Reference
- R Quick Reference: common functions and syntax
- Glossary: key terms defined