Day 6 — Tuesday, January 17th, 2023

Tuesday January 17th

  • 1:30-1:50 Activity: Discussion of Onikye et al reproduction article
  • 1:50-2:10 Lecture: Introduction to R Packages
  • 2:10-2:30 Demonstration of how to create R packages that standardize data loading and cleaning processes
  • 2:30-3:00 Lecture: How to use R Markdown to produce reproducible reports including tables, visualizations, and inline-quantitative statements.
  • 3:00-3:10 Break
  • 3:10-3:30 Activity: Experiment with different R Markdown features
  • 3:30-3:50 Lecture: Advice for Debugging
  • 3:50-4:10 Activity: Debugging
  • 4:10-4:30 Activity: Getting Help Online
  • 4:30-4:45 Demonstration of how to do the homework
  • 4:45-5:30 Time to do the homework, work on the final project together, peruse recommended materials

Homework 5:

  • Use R Markdown to document some exploratory data analyses

Video Recording

Resources

link to daily google doc
link to PDF slides

Lecture 1: Packages

link to view slides fullscreen
link to slide PDFs

Lecture 2: RMarkdown

link to view slides fullscreen
link to slide PDFs

Lecture 3: Debugging

link to view slides fullscreen

link to slide PDFs

link to live coding example reproducing a map of literacy rates in India from Wikipedia