Introduction
HTML and CSS
Web scraping vs. APIs
Why does web scraping exist if APIs are so powerful and do exactly the same work?
Web scraping in R
rvest
HTTP GET request
Parsing HTML content
CSS selector
XPath
Getting attributes
A real app…
Introduction
HTML and CSS
Web scraping vs. APIs
Why does web scraping exist if APIs are so powerful and do exactly the same work?
Web scraping in R
rvest
HTTP GET request
Parsing HTML content
CSS selector
XPath
Getting attributes
A real app…