Week 2 - Web scraping and programming
Harvesting data from the web, writing functions, and iteration πΈοΈ
Tasks
- Complete the readings
- Complete the assignments
Topic Intros
No. |
Title |
Slides |
|
---|---|---|---|
01 | Web scraping | ||
02 | Scraping top 250 movies on IMDB | ||
03 | Web scraping considerations | ||
04 | Functions | ||
05 | Iteration |
Class Activities
Activity |
Title |
Date |
---|---|---|
Topic Intro | Web Scraping and Considerations | Tue, 16 Jan |
Topic Intro | Functions and Iteration | Wed, 17 Jan |
Lab 01 | UoE Art Collection | Fri, 19 Jan |
Assignments
Assignment |
Title |
Due |
---|---|---|
Due this week | ||
Q 01 | Scrape + iterate | Sun, 21 Jan 23:59 EST |
Lab 00 | Simpson’s Paradox | Thu, 18 Jan, 23:59 EST |
HW 00 | College Majors | Fri, 19 Jan, 23:59 EST |
Due next week | ||
Lab 01 | UoE Art Collection | Thu, 25 Jan 23:59 EST |
HW 01 | Broken:( until further notice Money in politics | Fri, 26 Jan 23:59 EST |
Readings
π | Selector Gadget | Required |
π§° | Selector Gadget Chrome Extension | Required |
π | R4DS: Chp 19, Functions | Required |
π | R4DS: Chp 21, Iteration - Only the following sections: 21.1, 21.2, 21.5.1, and 21.5.2 | Optional |
Interactive R tutorials
The following are interactive R tutorials, designed to give you more practice with R. These are optional, but they will show up in your next homework assignment, so you should gain familiarity with it. If you’re struggling with any of the topics covered this week, I strongly recommend you work through the interactive tutorials.
| Regular Expressions Cheatsheet | Optional | | Regular Expressions 101 Code Testing Tool | Optional | | Exploring the linguistics behind regular expressions | Optional |