The code for creating all the project’s figures, tables, and analysis is available in a version-controlled repository at GitHub. Everything in the book can be recreated using R, preferably within RStudio, since the code is structured as an RStudio project.
This project uses data from dozens of different datasets and sources. All data can be accessed in the project’s GitHub repository. The most recent release of the project’s source code also contains this data.