Instructors: Karthik Ram, Garrett Grolemund and Scott Chamberlain
No matter what your domain of interest or expertise, the internet is a treasure trove of useful data that comes in many shapes, forms, and sizes, from beautifully documented fast APIs to data that need to be scraped from deep inside of 1990s html pages. In this 3 hour tutorial you will learn how to programmatically read in various types of web data from experts in the field (Founders of the rOpenSci project and the training lead of RStudio). By the end of the tutorial you will have a basic idea of how to wrap an R package around a standard API, extract common non-standard data formats, and scrape data into tidy data frames from web pages.
Background Knowledge
Familiarity with base R and ability to write functions.
Requirements
R with latest versions of httr
, rvest
, and curl
. It would also be helpful to have a recent release of R and RStudio
Target Audience
Any R user with an interest in retrieving data from the web.
Website for materials: All slides from the workshop are available as a PDF in this repo.