Getting data from the web: API access

Nov 16, 2021 9:30 AM
Room 295, 1155 E 60th St


  • 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