Lesson plan
If delivered as a semester-long course, we suggest the following lesson plan.
Week 1
Before class:
In class:
- Discussion of course structure
- Questions about setup, fundamentals
- Chapter 3: Reproducible reports
Week 2
Before class:
In class:
- Questions about reproducible reports
- Questions about loading data
- Questions about the pipe and renaming
- In-class exercises - click to download .qmd
Week 3
Before class:
In class:
- Questions about Data transformation I
- In-class exercises - click to download .qmd
Week 4
Before class:
In class:
- Questions about Data transformation II
- In-class exercises - click to download .qmd
Week 5
Before class:
In class:
- Questions about Data transformation III
- In-class exercises - click to download .qmd
Week 6
Before class:
In class:
- Questions about structuring projects
- Questions about data types
- Overview of assignment 1 (wrangling)
- In-class exercises - click to download .qmd
Week 7
Before class:
In class:
- Questions about strings and factors
- In-class exercises - click to download .qmd
Week 8
Before class:
In class:
- Questions about reshaping and pivots
- In-class exercises - click to download .qmd
Week 9
Before class:
- Chapter 13: Binding and joining
- Chapter 15: Data privacy
- Chapter 16: Data sharing and version control
In class:
- Questions about binding and joining
- Questions about data privacy
- Questions about data sharing and version control
- Lecture and exercise: Intro to Git and GitHub with GitHub Desktop
- Committing and pushing, and reading diffs
- Keeping private data and credentials out of GitHub with .gitignore and .Renviron
- Licensing a project, and archiving a release on Zenodo
- Exercise: anonymize a dataset, put the project from assignment 1 on GitHub, and review its diffs
- In-class exercises - click to download .qmd
Week 10
Before class:
- Chapter 17: Principles of data visualization
- Dattani, S. (2025). Saloni’s guide to data visualization.
- Saloni’s data visualizations while working at Our World In Data.
In class:
- Lecture: Principles of visualization
- In this session, this is often a guest lecture by Dr. Saloni Dattani.
- Founding editor of Works in Progress
- See her TED talk here
- Her podcast, Hard Drugs, is a show about “medical innovation, how to speed it up, how to scale it up, and how to make sure lifesaving tools reach the people who need them the most”.
Week 11
Before class:
In class:
- Questions about reporting
- Questions about ggplot2 for visualization
- Overview of assignment 2 (plotting)
Week 12
Before class:
- Chapter 14: Checking your data processing
- ‘Everything is regression’, from the companion book Understanding Statistics Through Monte Carlo Simulations. You can read it without first learning how to simulate data. Its exercises require simulation skills, so skip them for this course.
In class:
- Questions about checking data processing
- Questions about the linear model
- Questions about the assignments
Week 13 + 14
Oral examinations