Screenscraping

Chris Bail
Duke University

What is Screen-Scraping?

What is Screen-Scraping?

Is Screen-Scraping Legal?

Screen-Scraping is Frustrating

Reading a Web-Page into R

Reading a Web-Page into R

 

install.packages("rvest")
library(rvest)

Scraping a Wikipedia Page

 

We are going to begin by scraping this very simple web page from Wikipedia.

Scraping a Wikipedia Page

What a Web Page Looks like to a Computer

What a Web Page Looks like to a Computer