
Pre-lecture Prep
A. Install required packages
install.packages("palmerpenguins") # a package containing the `penguins` data set, which we'll use for plotting practice
install.packages("tidyverse") # a collection of packages used for data wrangling / manipulation and visualization (including {ggplot2})B. Create & organize your EDS-240-class-examples repository
We’ll be coding together quite a bit throughout this course. To stay organized, we’ll complete all of our in-class examples in one repository (repo). Create and clone a GitHub repository named EDS-240-class-examples (or something that makes sense for you). Step-by-step instructions are provided, below, if needed:
You should also create a folder for each week (e.g. week1/, week2/, week3/, etc.) inside your repository’s root directory to help keep all the various files that we’ll download / create organized. This consistent naming scheme will also make it easy to add large files (e.g. data files) to your .gitignore file, which is automatically created when you clone your repo as an R project (you’ll add data to your .gitignore for the first time during this week’s pre-discussion prep).
Remember to also fill out your repo’s README, referencing the MEDS README Guidelines.
C. Download the .qmd template
Template .qmd files will be provided alongside (most) lecture slides to help keep us organized and on track throughout class. They are available for download directly from GitHub at the link(s) provided in the Lecture Materials table (below). Look for the download button at the top right corner of the file (it looks similar to this, ). Please download all necessary templates and save them to the appropriate EDS-240-data-viz-examples/weekX folder before each class.
Lecture Materials
| Lecture slides | Code-along template | Code-along key |
|---|---|---|
| Lecture 1.1: course logistics & syllabus | NA | NA |
| Lecture 1.2: data viz intro | NA | NA |
Lecture 1.3: {ggplot2} review |
1.3 template | 1.3 key |
Pre-discussion Prep
Comming soon
Discussion Materials
Comming soon
Assignment Reminders
| Assignment Type | Assignment Title | Date Assigned | Date Due |
|---|---|---|---|
| SR | Pre-course reflection (SR #1) | Wed 01/07/2026 | Fri 01/09/2026, 11:59pm PT |
| HW | Homework Assignment #1 | Wed 01/07/2026 | Wed 01/14/2026, 11:59pm PT |