Week 9 Info: Webscraping and Hierarchical Data

Click here for info on Week 9
Author

George I. Hagstrom

Published

October 19, 2025

Hello Class,

Today is the start of week 9, where we will learn how to work with hierarchical data sets and how to use R to scrape websites for data. Web datasets are usually stored in a hierarchical, rather than tabular format, which requires different tools. We will make use of the rvest package to webscrape data into R and also use tools from the purrr package and data contained in repurrrsive.

This week we will have a lab assignment which involves extracting data stored in a hierarchical format, and combining webscraping tools with functions and iteration to automatically download many files at once. This assignment is due Sunday by midnight: Lab 7.

For your reading assignments and more details about this week, head over to Module 9. .