Web Scraping
1
Motivations
1.1
Lots of Data For The Taking ?
1.2
Web Scraping Can Be Ugly
1.3
Understanding The Language of The Web
1.3.1
Useful tools
1.4
Useful Packages
1.5
Quick
rvest
tutorial
1.6
Example: Parsing A Table From Wikipedia
1.7
Scraping Patient Dialysis Stories
1.7.1
Getting More Detail
1.7.2
Writing Some Code
1.8
Summary
2
XML and JSON
2.1
Finding XPaths
2.2
Example: GeoCoding With Google
2.3
Using JSON
2.4
Using the RJSONIO Package
3
More Real Life Examples
3.1
BitCoin Prices
3.2
IMDB
3.3
Faculty Salaries
3.4
Filling Out Forms From a Program
3.5
PubMed
4
APIs
4.1
OMDB
4.2
The omdbapi package
4.3
RSelenium
4.4
EasyPubMed
5
Bag of Words Sentiment Analysis
5.1
Workflow
5.2
Simple Example
5.3
tidytext
5.4
Back To The PubMed Example
5.4.1
How Do You Feel ?
5.5
BiGrams
6
Final Words
References
Published with bookdown
Web Scraping with R
References