Day 4 — Thursday, January 12th, 2023

Thursday January 12th

  • 1:30-2:00 Lecture: Diverse Data Sources (APIs [tidycensus, WHO, World Bank, qualtRics], scraping web data, tabulizer, tesseract, datapasta)
  • 2:00-2:20 Discussion: What kind of sources are students interested in using in their research or future work?
  • 2:20-2:50 Lecture: How to handle factors and date-times
  • 2:50-3:00 Break
  • 3:00-3:30 Lecture: Working with Regression Model Objects: constructing and analyzing them
  • 3:30-4:15 Activity: Working with Regression Models in R
  • 4:15-4:45 Lecture: Creating maps in R
  • 4:45-5:00 Lecture: Reproducible Examples for Getting Help
  • 5:00-5:30 Time to work on final presentation materials together, peruse recommended materials, chat with classmates

Homework:

  • Fit and report on a regression model including categorical (factor) variables
  • Peer Review for Homework 2

Video Recording

Resources

link to daily google doc
link to PDF slides

Lecture 1: Diverse Data Sources

link to view slides fullscreen
link to slide PDFs

Lecture 2: Factors and Date-times

link to view slides fullscreen
link to follow along code
link to slide PDFs

Lecture 3: Regression

link to slide PDFs
link to repository

Lecture 4: Creating maps in R

link to view slides fullscreen
link to slide PDFs

Lecture 5: Reproducible examples for getting help in R


link to view slides fullscreen
link to slide PDFs