Leading With Data· a Bicycle Guide
Guide highlights

The reader confidently obtains, cleans, visualizes, and models sports data in R. They produce persuasive data narratives that inform coaches, executives, and fans.

  • Install R and RStudio and learn foundational objects, functions, and data types.
  • Master visualization best practices and both static and interactive plots.
  • Apply supervised and unsupervised models to player evaluation and outcome explanation.

Book profile

Sports Analytics in Practice with R

One book, placed in its field — what Ted Kwartler's book gets right, where it goes further than the rest, and what the rest of the field adds.

Edited by Mike West

Choose a reading path or an exercise

Suggested sections

Choose a starting point below. Each link opens a section of this guide.

Do this now — Analytical Method Selection

  1. State the question and the outcome type first: a category (win/loss, play type), a number (points, yards), a grouping with no label (player roles), text (scouting reports), or a constrained allocation (lineups, salary cap).
  2. Map that outcome to a family: classification for categories, regression for continuous values, clustering for unlabeled groups, NLP for text, optimization for constrained choices.
  3. Start with exploratory plots and a simple baseline model, and add complexity only when the baseline demonstrably misses structure.
  4. Write one sentence explaining why the chosen method suits the decision context, and keep it with the analysis.

Then continue in Analytical Method Selection.

Edition 1·Updated 2026-10-03·18 min read

Sources

About this book

An overview of the book, with source information for further reading.

A hands-on, chapter-by-chapter guide to applying R programming and analytics techniques—from data visualization to machine learning, NLP, optimization, and exploratory analysis—across diverse sports contexts.

More on this book

Sports Analytics in Practice with R teaches aspiring and practicing data scientists how to use R for real analytical problems using publicly available, outcome-known sports data. Because sports data is accessible and outcomes are public, it serves as an ideal learning ground for techniques that transfer far beyond sports. Each standalone chapter demonstrates a distinct method—geospatial baseball analysis, football-draft classification and clustering, logistic regression to explain basketball wins, cricket fan-sentiment NLP, fantasy-football lineup optimization, and opponent-scouting exploratory analysis—using varied datasets including Paralympic, women's, and international sports. The book deliberately favors clarity over code optimization, positioning analytics as a supplement to (not replacement for) human judgment, framing decisions as 'human over the loop.' Readers finish with a portfolio of reusable analytical tools and the conceptual grounding to extend them to any sport or domain.

Movement I

Orient

In this part

What this book claims, and who wrote it.

  • — The book's one-line promise
  • — The author and where the book stands

A hands-on, chapter-by-chapter guide to applying R programming and analytics techniques—from data visualization to machine learning, NLP, optimization, and exploratory analysis—across diverse sports contexts.

The need-to-know

Sports data is an ideal, accessible entry point for learning broadly transferable analytics techniques. Effective analytics requires a data narrative and audience-appropriate visualization to drive organizational adoption. Supervised (KNN, logistic regression) and unsupervised (K-means, spherical K-means) methods each serve distinct evaluative purposes.

About this guide

The guide describes these challenges, steps and possible outcomes.

Who it is for

An aspiring or practicing data scientist or sports fan who wants to apply analytics skills to real, outcome-known data.

Challenges

  • In practice · They lack practical, end-to-end examples of how to obtain, clean, visualize, and model data using R.
  • For the reader · They feel intimidated by programming and unsure whether analytics has real value in domains where experts dismiss it.

Steps to consider

  1. 1Install R and RStudio and learn foundational objects, functions, and data types.
  2. 2Master visualization best practices and both static and interactive plots.
  3. 3Apply supervised and unsupervised models to player evaluation and outcome explanation.
  4. 4Use NLP to analyze fan sentiment and engagement in social media/forums.
  5. 5Employ simulation and linear optimization for lineup decisions.
  6. 6Conduct exploratory analysis to surface opponent insights and strategy.

Risks

They remain intimidated by code and never apply analytics practically. They rely solely on qualitative judgment and miss overlooked opportunities.

Intended result

The reader confidently obtains, cleans, visualizes, and models sports data in R. They produce persuasive data narratives that inform coaches, executives, and fans.

Set the record straight

What this book sets straight

The common beliefs this book pushes back on.

The myth

Analytics don't work at all; it's just some crap some smart people made up (Charles Barkley).

The reality

Analytics augment—not replace—qualitative expertise; well-designed analysis avoids costly mistakes and reveals overlooked opportunities.

The myth

Sports is uniquely immune to quantitative analysis unlike other industries.

The reality

Sports is like any nascent analytics field; missteps stem from immature data fluency, not from analytics being useless.

The myth

Good stats guarantee a good team.

The reality

Analytics inform decisions but the human decision-maker retains full responsibility; data is one factor among many.

The myth

Tabular data alone conveys patterns adequately.

The reality

Humans have superior visual pattern recognition; visualization dramatically improves comprehension and adoption.

Movement II

Map

The book's main ideas and how they connect.

In this part

Sports Analytics in Practice with R's own model — and how it sits inside its field.

  • — 9 constructs the book works with
  • — Where it agrees with the field, exceeds it, or fills a gap
The Conditions2· the context you inherit
Data Quality and CompletenessHuman-Over-the-Loop Decision Stance
What You Design3· the levers you pull
Analytical Method SelectionVisualization Best Practice ApplicationStructured Workflow Use
What It Produces1· the states it creates
Analyst Technical Competence
What You Do2· the behaviours that follow
Insight QualityStakeholder Adoption of Analysis

The constructs

Analytical Method Selection

The deliberate choice of an appropriate technique (visualization, supervised classification/regression, clustering, NLP, optimization, exploratory analysis) matched to the outcome type and problem context.

Data Quality and Completeness

The degree to which the underlying dataset is complete, accurate, temporally aligned, and free of missing or inconsistent records, affecting the trustworthiness of any downstream analysis and model.

Visualization Best Practice Application

The extent to which the analyst applies principles such as comparison, multivariate context, credibility, causality, integrated modality, and focus while avoiding chart junk to convey findings clearly.

Structured Workflow Use

Adherence to organized analytical processes such as SEMMA (Sample, Explore, Modify, Model, Assess) or the six-step NLP workflow that structure a project from problem definition to insight.

Analyst Technical Competence

The practitioner's developed fluency with R programming, data manipulation, modeling, and interpretation that grows through hands-on practice with the book's examples and exercises.

Insight Quality

The clarity, validity, and actionability of the analytical findings produced, including correct pattern identification, model interpretability, and relevance to the decision context.

Stakeholder Adoption of Analysis

The degree to which coaches, executives, or other decision-makers understand, trust, and incorporate the analytical narrative and visualizations into their thinking.

Human-Over-the-Loop Decision Stance

The organizational and individual posture that treats analytics as supplemental input while retaining human responsibility and integrating unmeasured qualitative factors into the final decision.

Decision Support Valuethe outcome

The ultimate benefit realized when analytics improves decisions—avoiding costly mistakes, optimizing outcomes, identifying overlooked opportunities, and creating measurable organizational or financial value.

How they connect (8)
  • Analytical Method Selection → predicts → Insight Quality
  • Structured Workflow Use → predicts → Analyst Technical Competence
  • Analyst Technical Competence → predicts → Insight Quality
  • Visualization Best Practice Application → predicts → Stakeholder Adoption of Analysis
  • Insight Quality → influences → Stakeholder Adoption of Analysis
  • Stakeholder Adoption of Analysis → predicts → Decision Support Value
  • Data Quality and Completeness → moderates → Insight Quality
  • Human-Over-the-Loop Decision Stance → moderates → Decision Support Value

Where this book diverges from the corpus

  • fills gap The field's constructs are about leadership, culture and character, and none covers choosing a quantitative technique to fit an outcome type.
  • fills gap The field's model has nothing on dataset accuracy, completeness or temporal alignment.
  • fills gap Chart design principles for communicating findings are absent from the field's reconciled model.
  • fills gap SEMMA and the NLP workflow are analytical process frameworks. The field's 'Guiding System' is a coaching or play philosophy, so it is only a loose analogue and does not cover this.
  • fills gap The field covers the coach's interior and leadership development, not analyst skill in R, data manipulation or modeling.
  • fills gap The validity, interpretability and actionability of analytical findings have no counterpart among the field's constructs.

Movement III

Master

Explore the book's ideas, examples and practical tools.

In this part

How the author makes the case — section by section, with the book's own tools.

  • — 9 sections, in the book's order
  • — The book's frameworks, checklists, and worked cases
Insight Quality
strong · 1 source
  • Sports Analytics in Practice with R
In this section

This section defines what makes an analytical finding good: correct, interpretable, and relevant to a specific decision. It gives you tests to apply before you present a result.

Insight Quality

The clarity, validity, and actionability of the analytical findings produced, including correct pattern identification, model interpretability, and relevance to the decision context.

Why it matters. A finding that is wrong or irrelevant either misleads the decision or is ignored, so the entire analytic effort is wasted.

Myth

An insight is good if the model scores well on accuracy or fit statistics.

Reality

A high score shows predictive fit, not usefulness. A quality insight is valid on held-out data, interpretable enough to explain to the person deciding, and tied to an action they can actually take.

Tools for this
The least you need to know
  • A good insight is valid, interpretable, and actionable, and failing any one of these weakens it.
  • Out-of-sample validation is the minimum standard before a pattern is called a finding.
  • End every analysis by stating the decision it informs and what the reader should do differently.
Master this◆ Paid

The deep drill-down: 8 operational steps, a worked example from the source, 5 decision rules, 5 failure modes, and the “Insight Quality Check Sheet” tool. Included when you buy this guide.

The rest of this section

the full written section · 4 how-to steps · 2 pitfalls to watch for · 3 tools for this section. Included when you buy this guide.

Grounded in: Sports Analytics in Practice with R

Stakeholder Adoption of Analysis
strong · 1 source
  • Sports Analytics in Practice with R
In this section

This section covers how coaches and executives come to understand, trust, and use an analysis. It focuses on communication and credibility rather than model details.

Stakeholder Adoption of Analysis

The degree to which coaches, executives, or other decision-makers understand, trust, and incorporate the analytical narrative and visualizations into their thinking.

Why it matters. Analysis that decision-makers do not trust or understand is never used, so its value is zero regardless of its accuracy.

Myth

If the analysis is correct, decision-makers will recognize its value and act on it.

Reality

Correctness is necessary but not persuasive on its own; coaches adopt analysis they can follow, that respects their expertise, and that arrives in their vocabulary. Trust is built through clear visuals and a narrative that links findings to situations they recognize.

Tools for this
The least you need to know
  • Adoption depends on both the quality of the insight and how clearly it is visualized and explained.
  • Frame results in the decision-maker's vocabulary and connect them to situations they recognize.
  • Treat stakeholder skepticism as input to refine the analysis rather than as an obstacle.
Master this◆ Paid

The deep drill-down: 8 operational steps, a worked example from the source, 5 decision rules, 5 failure modes, and the “Stakeholder Adoption Brief” tool. Included when you buy this guide.

The rest of this section

the full written section · 4 how-to steps · 2 pitfalls to watch for · 6 tools for this section. Included when you buy this guide.

Grounded in: Sports Analytics in Practice with R

Human-Over-the-Loop Decision Stance
strong · 1 source
  • Sports Analytics in Practice with R
In this section

This section describes how to position analytics as one input to a decision that a person still owns. It covers how to bring unmeasured factors like locker-room dynamics, injury context, and intangibles into the final call.

Human-Over-the-Loop Decision Stance

The organizational and individual posture that treats analytics as supplemental input while retaining human responsibility and integrating unmeasured qualitative factors into the final decision.

Why it matters. Treating a model's output as the verdict, or ignoring it altogether, forfeits the value of combining measured evidence with human judgment.

Myth

Following the model's recommendation strictly is the most objective and therefore the best way to use analytics.

Reality

Models see only what is measured, and the most consequential factors, such as chemistry, motivation, or a hidden injury, often are not. Objectivity comes from weighing the model against those factors explicitly while a named person stays accountable.

Tools for this
The least you need to know
  • Keep a human accountable for each decision and treat model output as one input among several.
  • Name the unmeasured factors explicitly, since that is where human judgment adds value over the model.
  • Log overrides and their outcomes to learn when judgment beats the model and when it does not.
Master this◆ Paid

The deep drill-down: 8 operational steps, a worked example from the source, 5 decision rules, 5 failure modes, and the “Human-Over-the-Loop Decision Brief” tool. Included when you buy this guide.

The rest of this section

the full written section · 4 how-to steps · 2 pitfalls to watch for · 5 tools for this section. Included when you buy this guide.

Grounded in: Sports Analytics in Practice with R

Decision Support Value
strong · 1 source
  • Sports Analytics in Practice with R
In this section

This section explains how to recognize and measure the benefit analytics delivers to decisions. It covers avoided mistakes, improved outcomes, and overlooked opportunities.

Decision Support Value

The ultimate benefit realized when analytics improves decisions—avoiding costly mistakes, optimizing outcomes, identifying overlooked opportunities, and creating measurable organizational or financial value.

Why it matters. Without a way to show that analytics changed decisions for the better, programs lose funding and credibility, or continue without anyone knowing whether they help.

Myth

The value of analytics is demonstrated by producing more models, dashboards, and reports.

Reality

Value exists only when a decision changes and the result is better than it would have been otherwise. Output volume is an activity measure, while avoided bad signings, found undervalued players, and improved win probability are the outcome measures.

Tools for this
  • Decision Support ValueCase study — The source's own case is the front-office analyst in professional basketball.
The least you need to know
  • Value is realized only when analysis changes a decision for the better, not when it is merely produced.
  • Track decisions and their outcomes so the benefits can be measured against a reasonable counterfactual.
  • Value depends on both stakeholder adoption and a sound human stance toward the analysis, so weakness in either limits the return.
Master this◆ Paid

The deep drill-down: 8 operational steps, a worked example from the source, 5 decision rules, 5 failure modes, and the “Decision Support Value Brief” tool. Included when you buy this guide.

The rest of this section

the full written section · 4 how-to steps · 2 pitfalls to watch for · 1 tool for this section. Included when you buy this guide.

Grounded in: Sports Analytics in Practice with R

Analytical Method Selection
strong · 1 source
  • Sports Analytics in Practice with R
In this section

This section shows how to match a technique to the question and the outcome variable before you write any R code. It gives you a decision path from problem type to method.

Analytical Method Selection

The deliberate choice of an appropriate technique (visualization, supervised classification/regression, clustering, NLP, optimization, exploratory analysis) matched to the outcome type and problem context.

Why it matters. A mismatched method produces confident, polished output that answers a question nobody asked, and everything downstream inherits the error.

Myth

The more sophisticated the model, such as a random forest or neural net, the better the sports insight it will yield.

Reality

Method fit is set by the outcome type and the decision, not by model complexity. A scatterplot with a fitted line often beats a boosted ensemble when a coach needs to see why shot value drops past a certain distance.

Tools for this
The least you need to know
  • Identify the outcome type before choosing the technique, since it narrows the viable methods to a short list.
  • Run a simple baseline first, because the lift a complex model adds over it is the real justification for using one.
  • Document why the method fits the decision so reviewers can challenge the reasoning, not just the output.
Master this◆ Paid

The deep drill-down: 8 operational steps, a worked example from the source, 5 decision rules, 5 failure modes, and the “Method Selection Worksheet” tool. Included when you buy this guide.

The rest of this section

the full written section · 4 how-to steps · 2 pitfalls to watch for · 4 tools for this section. Included when you buy this guide.

Grounded in: Sports Analytics in Practice with R

Data Quality and Completeness
strong · 1 source
  • Sports Analytics in Practice with R
In this section

This section covers how to audit a sports dataset for gaps, errors, and timing mismatches before modeling. It treats data checks as part of the analysis, not a preliminary chore.

Data Quality and Completeness

The degree to which the underlying dataset is complete, accurate, temporally aligned, and free of missing or inconsistent records, affecting the trustworthiness of any downstream analysis and model.

Why it matters. Even a well-chosen method and a skilled analyst produce misleading findings when the records are missing, mislabeled, or misaligned in time.

Myth

Public sports datasets are clean enough to model directly, and a few missing values won't change the conclusions.

Reality

Missingness in sports is rarely random: injured players, bench roles, and untracked events drop out systematically, so gaps bias results in a particular direction. Records can also be misaligned, such as stats attributed to the wrong season or a trade-date mismatch, which quietly distorts comparisons.

Tools for this
The least you need to know
  • Audit completeness and accuracy before modeling, because no technique repairs data that misrepresents the game.
  • Treat missingness as information about how the data was collected, and handle it according to its cause.
  • Check time alignment explicitly, since a stat from the wrong period is an error that looks like a finding.
Master this◆ Paid

The deep drill-down: 8 operational steps, a worked example from the source, 5 decision rules, 6 failure modes, and the “Dataset Readiness Checklist” tool. Included when you buy this guide.

The rest of this section

the full written section · 4 how-to steps · 2 pitfalls to watch for · 4 tools for this section. Included when you buy this guide.

Grounded in: Sports Analytics in Practice with R

Visualization Best Practice Application
strong · 1 source
  • Sports Analytics in Practice with R
In this section

This section turns the principles of effective graphics into habits you apply to every chart you build in R. The aim is a visual that a coach can read and act on in seconds.

Visualization Best Practice Application

The extent to which the analyst applies principles such as comparison, multivariate context, credibility, causality, integrated modality, and focus while avoiding chart junk to convey findings clearly.

Why it matters. A chart that is cluttered, uncontextualized, or implausible loses the audience before the analysis has a chance to persuade them.

Myth

Making a chart look impressive, with color, 3D effects, and many series, makes the analysis more convincing.

Reality

Persuasion comes from comparison, context, and credibility, and decoration works against all three. A plain chart that sets a player against a league benchmark and cites its data source is more convincing than an elaborate one.

Tools for this
The least you need to know
  • Design each chart around one comparison and one message, so the reader knows where to look.
  • Credibility details such as sources, sample size, and scale choices are part of the visual, not footnotes.
  • Remove chart junk, because every non-informative element competes with the finding for attention.
Master this◆ Paid

The deep drill-down: 8 operational steps, a worked example from the source, 5 decision rules, 5 failure modes, and the “Pre-Publish Visualization Checklist” tool. Included when you buy this guide.

The rest of this section

the full written section · 4 how-to steps · 2 pitfalls to watch for · 4 tools for this section. Included when you buy this guide.

Grounded in: Sports Analytics in Practice with R

Structured Workflow Use
strong · 1 source
  • Sports Analytics in Practice with R
In this section

This section explains how to run projects through a defined process, such as SEMMA for modeling or the six-step workflow for text analysis. It shows how structure keeps a project moving from question to insight.

Structured Workflow Use

Adherence to organized analytical processes such as SEMMA (Sample, Explore, Modify, Model, Assess) or the six-step NLP workflow that structure a project from problem definition to insight.

Why it matters. Without a workflow, analysts skip exploration or validation, and the gaps surface only when a model fails in front of decision-makers.

Myth

Following a formal workflow like SEMMA is bureaucratic overhead that slows experienced analysts down.

Reality

The workflow is a checklist against predictable failures, such as modeling before exploring or reporting without assessing. Repeating it on real problems is also how practitioners build competence faster, because each stage forces a distinct skill.

Tools for this
The least you need to know
  • Use a named workflow on every project so no stage, especially exploration and assessment, is skipped by default.
  • Reproducible scripts organized by workflow stage make your work reviewable and teach you where your skills are weakest.
  • Treat iteration between stages as a normal part of the process, not a sign that something went wrong.
Master this◆ Paid

The deep drill-down: 8 operational steps, a worked example from the source, 5 decision rules, 5 failure modes, and the “SEMMA Project Run Sheet” tool. Included when you buy this guide.

The rest of this section

the full written section · 4 how-to steps · 2 pitfalls to watch for · 4 tools for this section. Included when you buy this guide.

Grounded in: Sports Analytics in Practice with R

Analyst Technical Competence
strong · 1 source
  • Sports Analytics in Practice with R
In this section

This section describes how R fluency, data handling, modeling skill, and interpretation develop through deliberate practice. It focuses on what to practice and how to know it is working.

Analyst Technical Competence

The practitioner's developed fluency with R programming, data manipulation, modeling, and interpretation that grows through hands-on practice with the book's examples and exercises.

Why it matters. Weak technical skill shows up as coding errors, misread model output, and unnoticed bugs, which cap the quality of every insight you produce.

Myth

Reading through worked examples and running the provided code is enough to become a competent sports analyst.

Reality

Competence comes from modifying the examples, applying them to your own data, and diagnosing what breaks. Reproducing code shows you can follow it, while adapting it to a new sport or messy data shows you understand it.

Tools for this
The least you need to know
  • Adapting examples to new data builds more skill than re-running them unchanged.
  • Interpretation is part of technical competence, so explain every output in plain words before you rely on it.
  • Following a structured workflow repeatedly is one of the most efficient ways to build these skills across the full pipeline.
Master this◆ Paid

The deep drill-down: 8 operational steps, a worked example from the source, 5 decision rules, 5 failure modes, and the “R Analysis Practice Log” tool. Included when you buy this guide.

The rest of this section

the full written section · 4 how-to steps · 2 pitfalls to watch for · 4 tools for this section. Included when you buy this guide.

Grounded in: Sports Analytics in Practice with R

Movement III · The run-it-now depth

The Playbook

Practical tools and examples from this guide.

Frameworks

Frameworkfree

Analyst Technical Competence

How this mechanism is run, step by step, as the literature describes it.

  1. 1Start every new data set with `summary(nbaData)` (or your own data frame). For each numeric column read the min, first quartile, median, mean, third quartile, max, and the NA tally. Note each column's range, distribution, average, and how much of it is missing before you plot or model anything.
  2. 2Form a directional expectation before you plot. The book's example: the more minutes a player averages per game, the more points per game. Write the expectation down, then test it.
  3. 3Test the expectation visually first. Call `qplot(x = MPG_min_per_game, y = POINTS_PER_GAME, data = nbaData, size = 5)`. The order is x column, y column, then the data frame, and `data` must be a data frame. Then confirm the relationship numerically with `cor`.
  4. 4Add presentation layers with `+`. In `ggplot2`, `+` appends layers to the plot object and is not arithmetic. Append `theme_hc()` from `ggthemes` to change many parameters in one call. Use `theme_tufte` when you want Tufte's practices applied as a style.
  5. 5Choose the plot form deliberately, since the choice shapes the story. The book's face pattern uses `geom_point` for one block of rows and `geom_path` for another (`allDat[31:60,]` and `allDat[1:30,]`). Points alone would have hidden the pattern. Try at least two geoms before settling.
  6. 6Re-plot contested results in a second form. The Nightingale data re-plotted as a bar chart with `scale_fill_brewer(type = "seq", palette = "Greys")` and `theme_bw()` shows the disease-rate drop began before proper sanitation. Compare both versions and report the one that does not overstate the finding.
  7. 7Check the plot against Tufte's six practices: show comparisons, use multivariate data, establish credibility with sources, show causality, integrate text and images, and focus content. Remove 3D effects and other chart junk.
  8. 8Adapt, don't just copy, the book's code. Swap in another sport, a newer data set, or a different chart layer (for example `sportyR` for courts and pitches). Each chapter is a standalone reference meant to be extended as your acumen grows.
Framework◆ Paid

Analytical Method Selection

How this mechanism is run, step by step, as the literature describes it.

◆ The full 8-step framework — included with this guide purchase

Framework◆ Paid

Data Quality and Completeness

How this mechanism is run, step by step, as the literature describes it.

◆ The full 8-step framework — included with this guide purchase

Framework◆ Paid

Decision Support Value

How this mechanism is run, step by step, as the literature describes it.

◆ The full 8-step framework — included with this guide purchase

Framework◆ Paid

Human-Over-the-Loop Decision Stance

How this mechanism is run, step by step, as the literature describes it.

◆ The full 8-step framework — included with this guide purchase

Framework◆ Paid

Insight Quality

How this mechanism is run, step by step, as the literature describes it.

◆ The full 8-step framework — included with this guide purchase

Framework◆ Paid

Stakeholder Adoption of Analysis

How this mechanism is run, step by step, as the literature describes it.

◆ The full 8-step framework — included with this guide purchase

Framework◆ Paid

Structured Workflow Use

How this mechanism is run, step by step, as the literature describes it.

◆ The full 8-step framework — included with this guide purchase

Framework◆ Paid

Visualization Best Practice Application

How this mechanism is run, step by step, as the literature describes it.

◆ The full 8-step framework — included with this guide purchase

Checklists

Checklistfree

Analyst Technical Competence — decision rules

  • If you have just loaded a data set, then run `summary` first and read the NA tally before plotting or modeling.
  • If you hold a directional hypothesis about two numeric variables, then draw a scatter plot (`qplot` or `ggplot`) and calculate `cor` to confirm it.
  • If a pattern depends on a single chart form, then re-plot with a different geom (for example bars instead of the original) before presenting it.
  • If a 3D chart or a many-slice pie chart tempts you, then use a simpler 2D alternative, because 3D slices exaggerate size and complex pies are indiscernible.
  • If a chapter's code is for a different sport than yours, then keep the technique and swap in your data, since each chapter's takeaway is meant to be broadly applicable.
Checklist◆ Paid

Analytical Method Selection — decision rules

◆ All 5 checkpoints — included with this guide purchase

Checklist◆ Paid

Data Quality and Completeness — decision rules

◆ All 5 checkpoints — included with this guide purchase

Checklist◆ Paid

Decision Support Value — decision rules

◆ All 5 checkpoints — included with this guide purchase

Checklist◆ Paid

Human-Over-the-Loop Decision Stance — decision rules

◆ All 5 checkpoints — included with this guide purchase

Checklist◆ Paid

Insight Quality — decision rules

◆ All 5 checkpoints — included with this guide purchase

Checklist◆ Paid

Stakeholder Adoption of Analysis — decision rules

◆ All 5 checkpoints — included with this guide purchase

Checklist◆ Paid

Structured Workflow Use — decision rules

◆ All 5 checkpoints — included with this guide purchase

Checklist◆ Paid

Visualization Best Practice Application — decision rules

◆ All 5 checkpoints — included with this guide purchase

Case studies — including what didn't work

Case studyfree

Analyst Technical Competence

Context

Using the Dallas basketball player data, you run `summary(nbaData)` and read the range, quartiles, mean, and NA count for each numeric column. You expect more minutes per game to mean more points per game. You test that with `qplot(x = MPG_min_per_game, y = POINTS_PER_GAME, data = nbaData, size = 5) + theme_hc()`, where `+` adds the Highcharts-style theme layer. Figure 1.8 shows that, as expected, higher average minutes go with higher average points. You could confirm this with `cor`, but the scatter plot makes the relationship visible at once. A second case is the Nightingale mortality data, which looks compelling in its original form. Re-plotted as a bar chart (Figure 2.4), it shows the disease-rate decline began before proper sanitation. Overall deaths still fell, so sanitation mattered, but less dramatically. The skill is both running the code and reading what each version says.

Case study◆ Paid

Analytical Method Selection

Context

The source's pitcher analysis starts with a single named player, Miguel Castro, among 20,000+ players in `People`. The analyst declares `playerFirst` and `playerLast` as objects, runs `grep` on each name column, and uses `intersect` on the two index sets. That returns row 2933, which is selected with `People[index, ]` into `onePlayer`. Before any modeling, the analyst recognizes the grain: `People` has one row per player, `Pitching` has many rows per `playerID`, and `xWalk` adds a second ID, `MLBID`. A left join from `dplyr` appends the pitching and ID data to the single row. The method then moves from exploration to detail: a seasonal statistic, then Statcast pitch types tabulated by season with velocity compared across seasons, then geospatial pitch and swing location. Each step is descriptive and visual, because the aim is to surface initial inquiries, not to predict. The chapter then adds that a scout would not rely on pitch data alone, so the output informs a human decision rather than replacing it.

◆ What happened, and the outcome — included with this guide purchase

Case study◆ Paid

Data Quality and Completeness

Context

The swimmers data frame is built from four vectors: `athlete`, `height`, `weight`, and `gender`, each with eight values. Because the lengths match, `data.frame` constructs without raggedness. You first note it is a partial roster, so any conclusion applies to these eight athletes only. `ggplot(swimmers, aes(height, weight)) + geom_point() + theme_tufte()` shows a positive relationship, and `cor(swimmers$height, swimmers$weight)` returns 0.72. The scatter plot also shows spread you would not see in the single number: the two athletes at height 73 weigh 175 and 137. The `fakeData` set shows why the plot matters. Its `cor` is 0, yet the plot shows a pattern. That means a correlation near 0 is not proof of a clean, relationship-free dataset, and a high correlation on eight rows is not proof of a general rule. You report 0.72 with the sample size and the 'partial roster' caveat attached.

◆ What happened, and the outcome — included with this guide purchase

Case study◆ Paid

Decision Support Value

Context

The source's own case is the front-office analyst in professional basketball. A data scientist costs roughly 5–15% of one minimum professional contract, so the bar for justification is low: avoiding a single bad contract or optimizing ticket sales could easily cover the salary. Take the contract case. A superstar is an outlier who is easy to identify, so a veteran evaluator needs no model. The harder call is a middling player, where the economic opportunity cost is difficult to see qualitatively. The analyst builds a data narrative with the problem statement, data, method, limitations, and whether the result supports or undermines the scouts' view. It goes to the decision maker as a visual, not a table, because people read patterns in plots far better than in rows of numbers. The decision maker probes it and decides, and the human keeps full responsibility. If the analysis helps avoid one bad contract, the value is the avoided cost set against the small analyst expense. The source gives no specific player or dollar figures, so those stay as inputs you supply.

◆ What happened, and the outcome — included with this guide purchase

Case study◆ Paid

Human-Over-the-Loop Decision Stance

Context

Charles Barkley dismisses analytics as 'just some crap some people who were really smart made up' and insists 'just because you got good stats doesn't mean you got a good team.' The human-over-the-loop stance neither surrenders to his qualitative certainty nor overrules it — it notes he is right that superstars are outlier players easy to identify by eye without any model. But it also names his blind spot: the economic opportunity cost of non-superstar and middling players is hard to differentiate qualitatively, and that is where the analyst supplements the front office's judgment. The analyst presents this as a data narrative — the roster problem, the contract and performance data, the method, its limitations, and whether the numbers reinforce or challenge the scout's read — then hands the call to the GM. The GM, holding full responsibility, integrates the scout's unmeasured read on leadership and fit and either incorporates or ignores the analysis. The point is that sports decisions are neither exclusively qualitative nor quantitative; treating them as one or the other is myopic.

◆ What happened, and the outcome — included with this guide purchase

Case study◆ Paid

Insight Quality

Context

Akron soccer, opponent goals over time. You want to know whether Akron's defense weakens late. Filter macPlays to Akron's games with grep on team 'AKR' and collect their game IDs (gID). Pull all plays in those games via macPlays$gID %in% unique(oneTeam$gID). Drop Akron's own rows with the negated grepl vector (oppTeam[!oppIdx,]) and keep only action == 'GOAL'. Convert clock to gameSeconds with period_to_seconds(ms(clock)) and draw a Cleveland dot plot (gameSeconds by gID) with a vertical line at 2700 seconds for halftime. The chart shows opponent goals clustering after the line, so the finding reads: Akron's defensive vigilance appears to wane in the second half. The text hedges this with the data-integrity caveat the chapter raises repeatedly. The decision it supports is where coaching attention goes, and it is a lead to verify, not proof.

◆ What happened, and the outcome — included with this guide purchase

Case study◆ Paid

Stakeholder Adoption of Analysis

Context

The women's collegiate basketball chapter builds a logistic regression on winning-team statistics and then makes it usable by coaches. The summary table (Table 5.7) lists each stat's average winning-team value, its model impact, and its coefficient. FG_PCT has an impact of 0.328 and a positive coefficient of 1.17; FT_PCT has 0.194; Assists_PG has 0.163; Three_Pt_FG_PCT has 0.155; Rebounds_PG has 0.152. PPG has an impact of only 0.008 and a negative coefficient of -0.028. A coach who sees raw coefficients may not trust them, so the chapter adds a Positive/Negative color label and a frequency measure showing what percent of winning teams sit above average on each stat. These feed a scatter plot whose quadrants say what to focus on or deprioritize. The takeaway for a skeptical coach is that shooting efficiency explains far more of winning than points per game, and that statement can be checked against the plotted teams.

◆ What happened, and the outcome — included with this guide purchase

Case study◆ Paid

Structured Workflow Use

Context

The football chapter runs SEMMA end to end on NFL Combine data. Sample: the target `drafted` is built with `!sapply(NFLcombine$Round, is.na)`, and because drafts recur yearly the data is split out of time. Players from 2000 to 2016 form `combineTraining`, 2017 forms `combineValidation`, and 2018 to 2020 form `combineTest`. Explore: `names` and `head` show the columns and candidate y-variables. Modify and Model: treated data feeds a KNN regression predicting overall pick. Assess: `predict` runs on both partitions and `RMSE` gives 66 for training and 69 for validation. That small gap means the model is not overfit. But 66 picks of error shows it is likely regressing to the mean, so the author suggests trying a tree-based method. The clustering extension then compares cluster assignments to actual rounds. In the medoid table, Cluster6 holds 41% round 1 and 33% round 2 players, while Cluster7 holds 65% round 7 players. Those are the elite and low-expectation cohorts.

◆ What happened, and the outcome — included with this guide purchase

Case study◆ Paid

Visualization Best Practice Application

Context

The passages build two plots in Chapter 1, and they show the gap between a demo and a finding. The first is `plot(x = 1, y = 2)`, a one-point scatter that the authors call 'basic, yet not visually appealing'. It has no comparison, no context, and no message. The second is the heatmap of Dallas team offensive stats. It pivots the stats to long form with `pivot_longer`, draws tiles with `geom_tile`, and colors them with `scale_fill_gradient`, so many stats can be compared at a glance. The code then adds `theme_hc()` to remove clutter, `ggtitle('Dallas Team Offensive Stats')` to say what the picture is, and `theme(legend.position = "none")` to drop the legend. Applying the best-practice checklist, the title and clean theme support credibility and focus. Removing the legend is a judgment call: if color encodes value and nothing else shows the numbers, the reader cannot decode the fill, so you would either restore the legend or print values on the tiles. The passages do not state this critique, so treat it as application of the principles rather than the authors' claim. The full best-practice treatment is in Chapter 2, which these passages do not reproduce.

◆ What happened, and the outcome — included with this guide purchase

Templates

Templatefree

R Analysis Practice Log

Template◆ Paid

Method Selection Worksheet

◆ The fillable template — included with this guide purchase

Template◆ Paid

Dataset Readiness Checklist

◆ The fillable template — included with this guide purchase

Template◆ Paid

Decision Support Value Brief

◆ The fillable template — included with this guide purchase

Template◆ Paid

Human-Over-the-Loop Decision Brief

◆ The fillable template — included with this guide purchase

Template◆ Paid

Insight Quality Check Sheet

◆ The fillable template — included with this guide purchase

Template◆ Paid

Stakeholder Adoption Brief

◆ The fillable template — included with this guide purchase

Template◆ Paid

SEMMA Project Run Sheet

◆ The fillable template — included with this guide purchase

Template◆ Paid

Pre-Publish Visualization Checklist

◆ The fillable template — included with this guide purchase

Items marked Paid are included when you buy this guide.

Movement IV

Reflect

Consider the book's evidence, limitations and how it compares with other sources.

In this part

How good is it — where the book stands against the field, what it leaves open, and when to trust it.

  • — Its positioning, its critique, its blind spots
  • — When to apply it — and when not
  • — The evidence behind the advice

Book profile · in the corpus

This book’s model, against the corpus

0 of 9 constructs align with the field · 9 the book adds · 0 where it diverges · the field spans 18 constructs across 4 books

this book's own emphasisthe corpus adds (other sources)

This book's own emphasis — where it's the authority

Analytical Method SelectionData Quality and CompletenessVisualization Best Practice ApplicationStructured Workflow UseAnalyst Technical CompetenceInsight QualityStakeholder Adoption of AnalysisHuman-Over-the-Loop Decision StanceDecision Support Value

The corpus adds — from 3 other sources this book doesn't cover

The full field guide folds in ideas this book doesn’t reach — drawn from 3 further sources and cited in the full model.

This book’s place in the corpus

1 of 4
sources in this corpus
9
constructs contributed
9
unique to this book

Why the corpus guide, not just this book

The book stands on the data-mining and visualization traditions (SEMMA, NLP workflows, Tufte-style chart principles) and is the authority on how to analyze sports data in R and present it to decision-makers. The reconciled field-guide adds the human side of the picture: leadership, trust, culture and character determine whether analytics-informed decisions turn into sustained winning.

This guide stands on the shoulders of this book and 3 other sources — every claim cited, the disagreements named.

Read the reconciled Coach A Winning Team guide →

Read it closely

The book, examined

Not a summary — a close analytical reading: how the book is built, what it leaves open, and where it falls short.

How it’s built — the argument in order

  1. 01
    Preface and Introduction: why sports analytics — Argues sports is an accessible learning ground because the knowledge is common and the data and outcomes are public. Sets out three audiences (novice, avid R programmer/fan, practicing sports analyst). Promises standalone chapters, diverse datasets (Paralympic, women's, cricket) and transferable tools rather than brittle one-off analyses. Gives the supporting website and repository.
  2. 02
    Chapter 1: Introduction to R — Teaches R basics through small code examples: IF/ELSE logic, FOR loops, the Environment pane, and data classes (integer vs numeric vs logical). Notes that functions expect specific object types, so the later chapters can be followed without prior fluency.
  3. 03
    Early applied chapters: data acquisition, cleaning and visualization (including geospatial baseball) — Moves from the language to getting, cleaning and visualizing sports data. Builds the data-narrative and audience-appropriate-visual theme, and uses geospatial baseball analysis as the showcase. Only inferred from the summary, since the passages do not show these chapters.
  4. 04
    Supervised and unsupervised learning for player evaluation (football draft) — Applies KNN classification and K-means/spherical K-means clustering to football draft prospects. Shows each family serving a different evaluative purpose: predicting labels versus discovering groupings.
  5. 05
    Explanatory modeling (basketball wins via logistic regression) — Uses model coefficients to explain rather than only predict, identifying behaviors to prioritize, maintain or avoid.
  6. 06
    Natural language processing (cricket fan sentiment) — Applies text analysis to fan forum posts to gauge sentiment and engagement. The preface says the approach transfers to other sports' tweets or forums.
  7. 07
    Optimization (fantasy football lineup) — Combines simulation of expected outcomes with linear optimization under real constraints such as a salary cap or roster rules, to find the best lineup.
  8. 08
    Chapter 8: Exploratory data analysis and opponent scouting — Uses exploratory analysis, including first-order transition matrices built with createSequenceMatrix on play sequences (e.g., corner to goal). Presents Markov chains as the formal framework behind the matrix, but treats the matrix only as exploratory. Closes the arc on the human-over-the-loop stance: analysis supplements strategy and does not dictate it.

What it leaves unsolved

Can a fitted Markov chain really predict future states in sports sequences, and how well?

The text says a fit chain can predict from historical transition probabilities, but it deliberately uses only the transition matrix as exploration. It does not test predictive validity, the Markov (memoryless) assumption, or higher-order dependencies.

How reliable are transition probabilities estimated from small samples of plays?

The example is an artificial 19-element sequence. The text does not address sample size, uncertainty, or whether a team's tendency is distinguishable from noise.

How much do the pandemic-shortened seasons and outlier statistics distort the data and conclusions?

The preface admits that cancelled games and shortened seasons created outliers but only briefly. It does not say how analysts should treat such anomalies.

Will the code and data remain usable as packages and functions change?

The author directs readers to a website for code revisions as packages change, which concedes that the scripts are fragile over time.

Do methods shown on one sport or dataset transfer cleanly to other sports or domains?

The book asserts transferability (cricket text to basketball tweets; sports to stock trading) but does not demonstrate or test it. Sport-specific context, data structure and measurement may matter.

How should the human-over-the-loop principle work in practice: when should analysts defer to or override the model?

The book frames analytics as a supplement to human judgment but offers no explicit decision rule, and the passages show no worked example of adoption.

Where it falls short — a fair critique

incomplete

Clarity is explicitly preferred over code optimization, and the book offers standalone chapters instead of a cumulative curriculum. The result is breadth over depth: each method gets a single demonstration. Model diagnostics, validation, and tuning are probably thin, and the chapters do not show an integrated, end-to-end workflow.

incomplete

The transition-matrix passage introduces Markov chains but stops at a tabulated matrix from a toy sequence. It does not discuss uncertainty, significance, or what level of difference in conversion rate would justify changing on-field decisions, so the link from matrix to decision remains asserted.

illogical

The claim that sports data is an ideal learning ground because outcomes are public and knowledge is accessible does not follow into transferability. Sports data is clean, public and outcome-known, unlike the proprietary, messy, or expertise-heavy data in business or medicine. The same features that make it easy to learn may mean it undertrains readers for data-quality and stakeholder issues elsewhere.

incomplete

The book states that visualization and data narrative drive organizational adoption, but its examples are tutorials on public data, not real organizational deployments. Little evidence is offered that the techniques win stakeholder adoption or improve decisions (the 'decision support value' construct).

uninformed

The introduction to R covers class distinctions and basic control flow at a very elementary level. This suits novices, but the audience claim (novice, avid R programmer, and professional) is broad. Seasoned analysts may find the reference value limited if the chapters do not engage with current sports-analytics literature such as tracking data or advanced metrics. The visible passages cite mostly blog and tutorial sources (DataCamp, a personal blog) for Markov chain methodology, rather than the statistical literature.

misinformed

Presenting a transition matrix as an 'artifact of Markov Chain analysis' and noting its use in stock trading risks implying that sports sequences, like some financial models, satisfy Markov assumptions. Plays in a match depend on score, time, fatigue, and opponent adaptation, so a first-order memoryless treatment is a strong simplification that deserves a caveat.

Before you apply it

Using it well

Where the method fits, who it’s for, and the honest case for and against — so you apply it where it works.

Is this book for you?

For you if

  • You are an aspiring data scientist who wants practice on public data where outcomes are known
  • You are an R programmer and sports fan who wants new functions and techniques to extend
  • You work in sports analytics and want chapter-level reference examples to adapt to your sport or newer data
  • You want a portfolio of reusable analytical tools you can build on over time

Skip it if

  • You want a deep mathematical or theoretical treatment of the methods
  • You need production-optimized, scalable code rather than clear teaching examples
  • You have no interest in sports and prefer examples from your own domain
  • You are an advanced sports analytics practitioner who already knows these standard methods well

Need first

  • Basic comfort with R fundamentals (the book opens with an introduction covering loops, IF statements, and data classes)
  • Some general familiarity with sports and their rules so the use cases make sense
  • A working R environment, plus the book's data and scripts from the supporting website or git repository
  • Willingness to update code as functions and packages change

When it applies — and when it doesn’t

Use it
  • Learning R and core analytics techniques (visualization, regression, clustering, NLP) on public, outcome-known data — this is the book's core purpose: accessible data and known outcomes make sports a low-barrier training ground
  • Adapting a chapter's method to another sport or data source, such as cricket forum NLP reused on basketball tweets — the author designs each chapter as a broadly reusable tool rather than a brittle, sport-specific analysis
  • Using a logistic regression's coefficients to decide which team behaviors to prioritize, maintain, or avoid — explanatory modeling is a stated aim, though coefficients show association rather than proven causes
  • Building a fantasy lineup with simulation plus linear optimization under salary and roster constraints — the book shows maximizing expected outcomes under real constraints, which suits budget-constrained selection
  • Persuading non-technical stakeholders with a data narrative and audience-appropriate visuals — the book ties visualization best practice to organizational adoption of analysis
Adapt it
  • Scouting an opponent with transition matrices, such as how often a corner kick becomes a goal — the chapter treats this as exploratory analysis only, a first-order artifact of Markov chains; small samples and simple states can mislead
  • Treating the code as production-grade or optimized for large-scale deployment — the book deliberately favors clarity over code optimization, and packages and functions change over time
  • Applying models built on pandemic-era or shortened-season data without adjustment — the preface acknowledges that pandemic seasons produced outlier statistics that may distort results
  • Evaluating players with KNN or K-means from draft or combine-style data — the methods serve distinct evaluative purposes, but results depend on feature choice and data completeness
  • Moving to domains that need heavy subject-matter expertise or proprietary data, such as medicine or business — the book says sports is easy because knowledge and data are public, so transfer means supplying domain context and data access yourself
Not here
  • Using transition probabilities or Markov-style output to dictate in-game decisions — the 'human over the loop' stance says analytics should supplement human judgment, not command it
  • Using the book as a deep theoretical reference on statistics or machine learning — it is a hands-on applied guide with demonstrations, not a rigorous treatment of theory

The honest case

Strongest case for

  • Public data with known outcomes lets learners check their results and build skills without proprietary access or deep domain expertise
  • Standalone chapters across visualization, supervised and unsupervised learning, NLP, optimization, and EDA give broad method coverage that readers can take in any order
  • Diverse datasets (Paralympic, women's sports, cricket) widen relevance and show the techniques are not tied to one US-centric context
  • The 'human over the loop' framing positions analytics realistically as decision support, which fits how organizations actually adopt it
  • Favoring clarity over optimization lowers the barrier for novices and leaves room for readers to improve the code themselves

Strongest objection

  • Sports is a cleaner, lower-stakes setting than most business or medical problems, so skills learned there may not carry over to messy, proprietary, high-stakes data
  • Breadth across many methods means each gets shallow treatment, which risks learners applying techniques without understanding assumptions or limits
  • Explanatory coefficients and simple transition matrices can suggest causal strategies that the data cannot support
  • Code that favors clarity over optimization, and depends on packages that change, may age quickly and not suit professional workflows
  • Stating that analytics should only supplement human judgment is hard to test and can excuse weak models or ignored findings
Source notes

The model's constructs are drawn from the source element(s); load-bearing constructs are corroborated across the shelf, emerging ones are flagged.

Ideas covered by the source notes

  • Analytical Method Selection
  • Data Quality and Completeness
  • Visualization Best Practice Application
  • Structured Workflow Use
  • Analyst Technical Competence
  • Insight Quality

Movement V

Measure

Use available assessments to reflect on what you have learned.

In this part

A way to gauge yourself against the book's model, and the instruments it gives you.

  • — A self-check built from the book
  • — Instruments and what you'd measure next

Learning curriculum

After this book, you can…

The book's learning objectives, classified by Bloom's taxonomy and ordered so each builds on the ones before it.

01Foundational — know & understand
  1. explain
    After this book you can explain why publicly available, outcome-known sports data is a useful training ground for analytics, and how techniques demonstrated on one sport or dataset transfer to other sports and domains.
    Check: Short written response: take one chapter's technique (e.g., cricket text analysis) and describe how it would be reused on a different sport or a non-sports domain, naming what stays the same and what must change.
02Working — apply
  1. apply
    After this book you can use R to obtain, clean, and manipulate sports data, including basic programming constructs such as logical statements and conditional output, in preparation for analysis.
    Check: Practical coding exercise: load a public sports dataset, handle missing or inconsistent records, and write conditional logic that produces correct output.
  2. organize
    After this book you can organize an analytics project using a structured workflow such as SEMMA (Sample, Explore, Modify, Model, Assess) or the six-step NLP workflow.
    Check: Submit a project plan or notebook whose sections map explicitly to each SEMMA or NLP workflow step, with justification for the work done in each step.
  3. apply
    After this book you can apply supervised methods (KNN, logistic regression) to classify players or predict outcomes, and evaluate the resulting models.
    Check: Build and evaluate a KNN classifier on football-draft data using held-out data and appropriate accuracy measures; interpret the results.
  4. apply
    After this book you can apply unsupervised clustering (K-means, spherical K-means) to group players or documents, and interpret what the clusters mean for evaluation.
    Check: Cluster draft prospects or text records, choose a defensible number of clusters, and write a profile of each cluster.
  5. perform
    After this book you can carry out a natural language processing workflow on fan forum text (e.g., cricket) to gauge sentiment and engagement.
    Check: Clean and tokenize a text corpus, compute sentiment and term frequencies in R, and summarize what fans are feeling and discussing.
03Advanced — analyze & judge
  1. interpret
    After this book you can interpret logistic regression coefficients to explain which team behaviors to prioritize, maintain, or avoid in order to win basketball games.
    Check: Given a fitted model's output, convert coefficients into plain-language recommendations and identify behaviors that help or hurt the chance of winning.
  2. analyze
    After this book you can perform exploratory analysis of an opponent, building and reading a first-order transition probability matrix (e.g., shot → corner → goal), and explain how it relates to Markov chains.
    Check: From a sequence of play events, build the transition matrix in R, read it row-to-column, and state the tactical tendencies it implies and its limits.
04Mastery — synthesize & create
  1. create
    After this book you can design and build R visualizations, including geospatial baseball plots, that follow best practices of comparison, multivariate context, credibility, causality, integration, and focus.
    Check: Produce a visualization from a sports dataset and critique it against each best-practice principle; a rubric scores adherence and audience fit.
  2. evaluate
    After this book you can assess a sports dataset for completeness, accuracy, and temporal alignment, and judge how its limitations (e.g., pandemic-shortened seasons producing outlier statistics) could affect conclusions.
    Check: Given a dataset with missing values and unusual seasons, produce a data-quality audit and a written judgment of how each issue could bias the analysis.
  3. justify
    After this book you can select an analytical method appropriate to the question and outcome type (binary, multi-class, continuous, clustering, text, optimization, exploratory) and justify the choice.
    Check: Given several sports scenarios, choose and defend a method for each, e.g., logistic regression for win/loss, KNN for draft-position classes, K-means for player groupings, optimization for lineups.
  4. construct
    After this book you can combine simulation with linear optimization to build a fantasy-football lineup that maximizes expected points under budget and roster constraints.
    Check: Formulate the objective function and constraints in R, simulate player outcomes, solve for the lineup, and justify it against a naive selection.
  5. communicate
    After this book you can communicate analytical findings as a data narrative with audience-appropriate visuals so that non-technical decision-makers such as coaches and executives understand, trust, and use them.
    Check: Present a short briefing to a mock coaching staff and receive a rating on clarity, credibility, and actionability of the narrative.
  6. defend
    After this book you can defend a human-over-the-loop stance by judging when analytical output should supplement rather than dictate decisions, and by identifying the risks of over-relying on a model.
    Check: Case-based essay: given a model recommendation that conflicts with expert judgment, argue how to integrate the two and who remains accountable.

How to measure it

Turning each idea into a measure

For each construct: how to operationalize it, the observable signals to look for, and how well it holds up.

Analytical Method Selection

Coded by which algorithm or plot type a practitioner applies for a stated problem (e.g., logistic regression for a binary outcome, KNN for classification, linear programming for lineup optimization).

Observable signals
  • choice of glm for binary outcome
  • use of skmeans for clustering
  • use of lp for optimization
Scale

Categorical/nominal classification of chosen method versus problem type.

Holds up?

Face valid; grounded in the book's explicit method-context sections. · Reliable when problem type and method are documented.

Data Quality and Completeness

Assessed via proportion of missing/NA values, need for imputation, data-integrity corrections, and temporal alignment checks.

Observable signals
  • count of NA values
  • imputation steps performed
  • noted HTML table offset errors
Scale

Continuous proportion of complete cases plus qualitative integrity flags.

Holds up?

Directly observable from data audits. · High when audits are systematic.

Visualization Best Practice Application

Expert-rated adherence to Tufte's six principles (comparison, multivariate, credibility, causality, integrated modality, focus) and appropriate chart-type selection.

Observable signals
  • use of theme_tufte
  • avoidance of pie/3D charts
  • appropriate bar/scatter selection
Scale

Rubric-based ordinal rating by reviewer.

Holds up?

Grounded in Chapter 2 principles; content valid. · Depends on rater consistency; conditional aggregation.

Structured Workflow Use

Checklist of workflow stages performed and documented within a project.

Observable signals
  • explicit sampling/partitioning
  • documented EDA
  • model assessment steps
Scale

Ordinal count of completed workflow stages.

Holds up?

Face valid; directly described in the text. · High when stages are documented.

Analyst Technical Competence

Demonstrated ability to reproduce, adapt, and extend the book's analyses and complete end-of-chapter exercises.

Observable signals
  • successful script execution
  • completed exercises
  • extension of methods to new data
Scale

Mixed: self-report plus performance-based assessment.

Holds up?

Construct valid via performance tasks. · Moderate-high with repeated tasks.

Insight Quality

Rated by whether the analysis correctly surfaces decision-relevant, valid findings (e.g., identifying an important overlooked statistic).

Observable signals
  • coefficient interpretation
  • correct pattern detection
  • relevance to decision
Scale

Ordinal rubric plus objective model KPIs where applicable.

Holds up?

Combines objective KPIs with expert judgment. · Conditional; depends on outcome availability.

Stakeholder Adoption of Analysis

Observed reference to or action upon the presented analysis by coaches/executives.

Observable signals
  • citing analysis in strategy
  • acting on visual findings
Scale

Perceptual survey or behavioral tracking.

Holds up?

Face valid; central to the book's adoption argument. · Moderate.

Human-Over-the-Loop Decision Stance

Inferred from how analysis is framed relative to human judgment in the decision process.

Observable signals
  • explicit human-over-the-loop framing
  • qualitative override considerations
Scale

Perceptual/interpretive coding.

Holds up?

Grounded in repeated book framing. · Moderate; interpretive.

Decision Support Value

Measured via downstream outcomes such as avoided bad contracts, optimized fantasy lineups scoring more points, or improved standings correlation.

Observable signals
  • higher lineup point totals
  • avoided draft busts
  • salary-justified analyst ROI
Scale

Archival continuous outcome metrics.

Holds up?

Objective where outcomes are recorded. · High for archival measures.

Self-assessment

Where would you like to improve?

This is a structured self-diagnostic built from the model — a mirror for reflection, not a validated psychometric scale. For validated measurement, see the instruments below.

1 = Strongly Disagree · 7 = Strongly Agree

Capabilitythe practices and skills you deploy
  • Before I start an analysis, I deliberately choose the technique (such as classification, clustering, or exploratory analysis) that best fits the question I am trying to answer.
  • My charts often include clutter, distorted scales, or decorative elements that make the main message harder to see.
  • I follow a defined step-by-step workflow, such as sample, explore, modify, model, and assess, from the start to the end of an analytics project.
  • The findings I produce are clear, correct, and specific enough that decision-makers can act on them directly.
  • The coaches or executives I work with understand my analysis, trust it, and use it in their own thinking.
Alignmentthe outcomes you steer toward
  • My analyses have helped my organization avoid costly mistakes or find opportunities it would otherwise have missed.
Motivationthe states you cultivate in others
  • I can comfortably write code in R to prepare data, build models, and interpret the results without needing much outside help.
Supportthe conditions you shape
  • The datasets I work with are complete, accurate, consistent, and properly aligned in time.
  • In my organization, analytics is treated as one input to a decision, and a person remains responsible for weighing it against qualitative factors the data cannot capture.
0 of 9 answered

Proposed measures — starter instruments where no validated one was found

Analytical Method Selection Rigor Index (Proposed)

proposed · not validated

Rated for your team or hiring process — not a personal self-check.

  1. Every analytical project documents the business question and the reasons the chosen technique (e.g., visualization, classification, regression, clustering, NLP, optimization) fits that question and the data type before modeling begins.
  2. Each analysis record shows that at least one alternative technique was considered and the rationale for rejecting it is written down.
  3. A reviewer who was not involved in the analysis signs off on the method choice, checking its assumptions against the characteristics of the available data.

Scale: 1–7 (Strongly Disagree → Strongly Agree), rated by an evaluator or the team. Average the items; treat ≤3 as a gap to close in the process.

Dataset Quality and Completeness Assurance Index (Proposed)

proposed · not validated

Rated for your team or hiring process — not a personal self-check.

  1. Every dataset used in an analysis has a documented profile reporting missing-value rates, duplicate records, and inconsistent entries before analysis starts.
  2. Automated checks verify that records from different sources are aligned on time period and key identifiers, and failed checks are logged and resolved before results are released.
  3. Known data gaps and corrections are recorded in a data-quality log that is available to anyone who consumes the analysis outputs.

Scale: 1–7 (Strongly Disagree → Strongly Agree), rated by an evaluator or the team. Average the items; treat ≤3 as a gap to close in the process.

Visualization Best Practice Application Index (Proposed)

proposed · not validated

Rated for your team or hiring process — not a personal self-check.

  1. Charts routinely show comparisons, with a clear baseline, benchmark, or alternative displayed alongside the primary series.
  2. Each visualization states its data source, time frame, and known limitations, and axes and scales are labeled so that the display does not distort the data.
  3. A review checklist covering multivariate context, claims of causality, and integration of text, numbers, and graphics is completed before a visualization is published.

Scale: 1–7 (Strongly Disagree → Strongly Agree), rated by an evaluator or the team. Average the items; treat ≤3 as a gap to close in the process.

Sources

  • Sports Analytics in Practice with R — Ted Kwartler · A hands-on, chapter-by-chapter guide to applying R programming and analytics techniques—from data visualization to machine learning, NLP, optimization, and exploratory analysis—across diverse sports contexts.

The cheat sheet

Everything, on one page

One key takeaway from each section, with links to read more.

Publication details

Consult the sources listed in this guide for further reading. Edition 1 · Updated 2026-10-03.

Explore related books and profiles in the library.

Take it with you

The main guide above is free to read. This purchase includes 32 additional tools and examples — 8 frameworks, 8 checklists, 8 case studies and 8 templates — plus the full sections and the ebook itself: an epub and a PDF covering all 9 sections. Every format, yours to keep — permanently, including every future update. When this guide is deepened, you get the new edition at no cost.

One payment. The main guide stays free to read.

Get one letter a month: the new guides worth your time, and where the books disagree.

One letter a month from Leading With Data, plus a short welcome. Your address is used for this letter only. Unsubscribe any time.