ECON 370

Logo
source: The Economist

Instructor:
Pamela Jakiela

home
syllabus
schedule


10 Web Scraping, Strings, and Regular Expressions


Readings

R for Data Science: 24, 14 and 15

Python for Data Analysis: 7.4


Lecture

Slides from Lecture 10


Lab

The objective of this lab is to scrape the Williams web to answer these questions. An R example which collects data from the Williams women’s soccer team’s website is available here, and a Python version of the example is available here. Each group should adapt the code from the example to collect data from the appropriate Williams pages, and then extend the code to calculate the requested statistics.