Contents

Every part and chapter of the book on one page, in reading order, each chapter with a one-line summary.

Part I. Why and With Whom

Part II. Your Toolkit

  • 5 The Unix Shell
    Teaches the Unix shell: moving around the filesystem, inspecting a raw file before R reads it, and composing pipelines. It is optional. Later chapters give the few commands they need in full, and a reader who has used a terminal can skip it.
  • 6 Setting Up Your Workstation
    Installs R, an IDE, Quarto, and Git, and verifies the machine with a checklist.
  • 7 Git and GitHub for Solo Developers
    Introduces Git and GitHub for a single analyst who wants a recoverable history.
  • 8 Git for Teams
    Extends that history to a team: branches, pull requests, review, and conflicts.
  • 9 renv for Package Management
    Records the package versions an analysis uses in a lockfile and restores them elsewhere.
  • 10 Docker for Reproducibility
    Pins the R version, operating system, and system libraries in a container.
  • 11 Assembling the Compendium
    Assembles Git, renv, and Docker into a research compendium and audits it against the Five Pillars.
  • 12 AI-Assisted Coding
    Sets out how to prompt language models and coding agents, how to check what they produce, and what may be sent to them. It comes before the chapters in which you rely on them.

Part III. Data in Hand

Part IV. Documents and Pipelines

Part V. Analysis Practice

Part VI. Industry

Part VII. Analysis to Audience

Part VIII. Capstone

References and Appendices