Getting data from the web: API access

Jul 11, 2022 10:00 AM
Online (Zoom)


  • Identify multiple methods for obtaining data from the internet
  • Define application program interface (API)
  • Explain authentication keys and demonstrate secure methods for storing these keys
  • Demonstrate how to use canned packages in R to access APIs
  • Practice gathering data from Twitter API using the rtweet package in R
  • Identify methods for writing functions to interact with APIs
  • Define JSON data structure and how to convert them to data frames
  • Practice tidying messy JSON data objects using tidyr

Before class

Class materials

Additional resources

What you need to do after class

Benjamin Soltoff
Benjamin Soltoff
Assistant Senior Instructional Professor in Computational Social Science & the College