Lecture 16

Overview

  • Introduce scraping with Application Program Interfaces (APIs)
  • Interact with APIs
  • Explain APIs authentication keys and methods for storing these keys
  • Introduce “rectangling” in R (e.g., unnesting nested lists)

Readings

Readings for all lectures on the topic (both direct web-scraping and scraping using APIs) are posted under Lecture 14.

Class materials

Run the code below in your console to download today’s in-class exercises: usethis::use_course("css-materials/web-api-access")