🗓️ Week 02 – Day 02: API queries and JSON tricks
What good code looks like and what tidy data is
Explore beyond HTML files on the web and delve into the realm of APIs to gather valuable data.
- What is an API? How is it different from scraping data?
- Getting data from APIs in R
- Simplifying complex nested JSON data
dplyr
: tricks and best practices
👨🏫 Lecture Notes
🎥 Looking for lecture recordings? You can only find those on Moodle.
This morning, we will have two moments. First, we’ll dive into the world of JSON files and learn how to work with them in R. After that, we’ll explore the concept of APIs, and how they allow us to retrieve data from the web without the need for manual scraping.
Also, in-class group exercises are back!
You can download the lecture material as a Quarto Markdown file by clicking the button below.