Appendices
The appendices are the book's reference shelf. The chapters teach an idea once, in context; the appendices collect what you will want to look up again: the code idioms, the column definitions, every metric and method in one place, the laws that bend the numbers, and the answers.
Everything in them follows the book's one rule: numbers about real cricket are computed from the data
snapshot (the scripts are in appendices/code/, with their real output saved beside them), and anything
simulated is labelled 🧪.
| Appendix | What it's for | Use it when… |
|---|---|---|
| A — Python and pandas for Cricket | A quick reference to every Python, pandas and plotting idiom the book uses, on ball-by-ball data | you know what you want to compute but not the pandas incantation |
| B — Data Dictionary and Toolkit Reference | Every column of the deliveries and matches tables, the competition archives, the reference tables, and the full cricdata / venues / tracking_sim API |
you need to know exactly what a column means or what a toolkit function returns |
| C — Metric Encyclopedia | Every metric the book defines — formula, format notes, benchmarks, the Crease function that computes it | you meet SR+, xW, RAR, WPA or BRS and want the definition and a typical value |
| D — Statistical Methods Reference | Twenty-nine methods — shrinkage, calibration, Markov chains, Elo, Marcel, Kelly and more — with worked cricket examples | you want the idea, the formula and the pitfalls of a method in one page |
| E — Laws and Playing Conditions for Analysts | The rules that change the numbers — fielding restrictions, free hits, DRS, Impact Player, purses — each with its analytics impact | a metric shifts between seasons or formats and you suspect a rule change |
| F — Venues and Conditions Guide | Computed venue baselines for Tests, ODIs, T20Is and the IPL, and how to shrink venue effects | you need a par score or a spin/pace profile for a ground |
| G — Records and Reference Tables | Format baselines by season, career leaderboards, phase par tables, tournament results | you want a number to compare against |
| H — Glossary | 399 cricket, statistics and book-specific terms, each linked to where it's taught | a term is unfamiliar |
| I — Answers to Selected Exercises | Worked answers, with code and real output, for selected exercises in every chapter | you've tried an exercise and want to check your reasoning |
| J — R for Cricket Analytics | The book's canonical summaries in R, the yorkr / cricketr / cricketdata packages, a Python↔R translation table | you work in R |
| K — Visualization Gallery | Every chart type in the book with the function that draws it and design notes | you need a wagon wheel, worm, pitch map or win-probability curve |
| Bibliography | Every source the book cites, with where it's cited | you want to read further or check a reference |
| Index | Every glossary term with the chapters that use it | you want to find where a topic is discussed |
Two further reference points live outside this folder: the data sources and licences in
About the Data, and the reader's own platform documentation in
project/README.md, which Chapter 39 writes.