To try to make playing along with the Wrangling F1 Data With R book a little easier, I've posted a simple Docker file for launching a containerisd virtual machine that runs RStudio and contains a local copy of a SQLite3 version of the ergast database (to 2013), a scrape of some of the results data from the F1 results website, and some sample R files: Wrangling F1 Data - docker.
The virtual machine allows you to work with the data in a self-contained virtual machine running on your own machine. (I will explore how to run it via a cloud service when I get a chance...) The RStudio application that runs in the container can be accessed via your browser.
I've also started exploring the idea of a code bundle alongside the book that will contain additional software files. The Github repository linked above will probably lag the book extras package, but will be added to over time.