Lesson plan

If delivered as a semester-long course, we suggest the following lesson plan.

Week 1

Before class:

In class:

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:

Week 4

Before class:

In class:

Week 5

Before class:

In class:

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:

Week 8

Before class:

In class:

Week 9

Before class:

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:

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:

In class:

  • Questions about checking data processing
  • Questions about the linear model
  • Questions about the assignments

Week 13 + 14

Oral examinations