15 Conclusion
15.1 What You Have Now
If you worked through the chapters, you should now have:
Foundations. A terminal you’re not afraid of. Python and R installed. Every project under Git, with a remote on GitHub and credentials that live in the environment rather than in the source. Data in formats that remember their own types, and a query engine that handles files larger than your memory. Each project in its own environment, with its dependencies recorded in a file committed beside the code.
Communicating results. Documents that regenerate themselves from data, so a corrected figure means a re-render rather than an afternoon of copy-paste. Charts in whichever of matplotlib, plotly, or ggplot2 fits the job.
Shipping. Cloud compute for the times your laptop isn’t enough, with a budget alert you set before you needed it. Applications your stakeholders can open in a browser. Containers that settle “works on my machine” by letting someone else run it. Deployment that happens on push. Tests that run in CI, and a project structure the next person can navigate without asking you.
15.2 The Three Ideas Underneath
Strip away the specific tools, many of which will be replaced, and three principles remain.
Write down what you depend on. Environment files, lockfiles, Dockerfiles, requirements.txt. The recurring failure in analytical work is a result nobody can reproduce, and a common cause is a dependency that existed only in someone’s working directory.
Automate the second run. Once you’ve done something by hand a few times, script it. The gain is the record: a manual process leaves none, so nobody can check it, and it drifts a little every time someone performs it.
Make failure loud and early. A test that fails in CI is a good outcome, and so is a missing dependency caught by a clean build, because the alternative is the same failure found later by someone else, after they’ve acted on a wrong number. Most of the tooling in this book exists to move errors earlier in the process, where they’re cheap.
15.3 Where the Tools Will Change
The shelf life of what you’ve just read varies by layer:
Stable for a decade or more. The command line, Git, SQL, and the concepts behind containerisation and continuous integration. These have changed little in twenty years, and I don’t expect them to change much in the next twenty.
Stable but evolving. Python, R, Docker, and the major cloud providers. The syntax you learned will keep working; the ecosystem around it will move.
Expect churn. Specific hosting platforms, package managers, free-tier terms, and AI coding assistants. Some tools recommended here will have been superseded by the time you need to replace one — and that’s to be expected in this industry. This edition already reflects one such move: shinyapps.io, the standard answer for Shiny hosting for a decade, is being consolidated into Posit Connect Cloud.
When a specific tool stops matching reality, the principle it illustrated almost certainly still holds. Find the current tool that serves the same purpose.
15.4 If You Do One More Thing
Take a project you finished more than six months ago. Clone it fresh into a new directory — not the one you worked in — and try to reproduce a result.
Whatever breaks is your real gap, and it’s better found deliberately, on a project that no longer matters, than under deadline on one that does.
15.5 A Note on the Machines
An assistant will happily write you a Dockerfile, a GitHub Actions workflow, or a pandas pipeline, and it will usually be close to right. It will run the thing on your data and report that it worked. What it can’t do is tell you the answer is implausible — that the total is an order of magnitude too high, or that the join quietly dropped a third of the rows. That judgement requires knowing what the pieces do, which is what you now have.
Let the machine draft, and check what it hands back.
15.6 Ready
Everything from here is the analysis you came to do, with less in the way of it.
Ready to run()