Week 6 - Web scraping and iteration

Web scraping, functions, and iteration 🕸

Schedule

Lec 11 Harvesting data from the web
Lab 06 University of Edinburgh Art Collection Due: Fri, 25 Oct, 17:00
Lec 12 Functions and iteration
HW 06 Money in politics Due: Wed, 30 Oct, 17:00
RT 05 Interactive tutorial covering week’s material: Write functions (Function basics, How to write a function, and Arguments) + Iterate (Introduction to iteration, Map, and Map shortcuts)
OQ 06 Scrape and iterate Due: Fri, 1 Nov, 17:00

Readings

📄 Selector Gadget Required
📄 Ethical challenges in online research: Public/private perceptions 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

Miscellaneous

🔘 Peer evaluation 01 Due: Fri, 25 Oct, 17:00