Web scraping

Ranae Dietzel and Andee Kaplan

Don’t abuse your power

http://www.wired.com/2014/01/how-to-hack-okcupid http://www.vox.com/2016/5/12/11666116/70000-okcupid-users-data-release

Let’s scrape some data!

We’re going to scrape the open access journal “Agronomy” for papers about nitrogen and get some information from them:

  1. Title
  2. Authors
  3. Year
  4. Tables

Your turn

Open up the lab script and get going! Here are some helpful function names from rvest:

SelectorGadget may also be helpful.