Web Scraping part2: Digging deeper by Rolf Fredheim.
From the post:
Slides from the second web scraping through R session: Web scraping for the humanities and social sciences.
In which we make sure we are comfortable with functions, before looking at XPath queries to download data from newspaper articles. Examples including BBC news and Guardian comments.
Download the .Rpres file to use in Rstudio here.
A regular R script with the code only can be accessed here.
A great part 2 on web scrapers!