The website for the textbook, “Practical Data Science with R” is http://www.win-vector.com/blog/practical-data-science-with-r/. This supporting website has links to the code and datasets used in the book.
In fact, the majority of the links on the textbook website point to their Github repository at https://github.com/WinVector/zmPDSwR. If you wish, you can “Clone or Download (as a ZIP)” the entire repository for easy offline reference.
The direct link to the Github
zmPDSwR Repository folders is https://github.com/WinVector/zmPDSwR.
README file which loads at the bottom of the page linked above, lists the example datasets. Each dataset has a link to the folder with the data, associated files, and a description of the data and suggested analysis examples as presented within the textbook.
For example, see the worked example (done in Rmarkdown) for
bioavailability https://github.com/WinVector/zmPDSwR/tree/master/bioavailability, which presents an example of evaluating the “Caco-2 permeability assay”.
The textbook repository also provides the
Rmarkdown code/templates for worked examples from the book. See https://github.com/WinVector/zmPDSwR/tree/master/RunExamples for complete files that can be “knitted” to “…set up the correct context to run each and every snippet extracted from the book…”