liveBook · Manning

NBA dataset

As explained in Statistics Slam Dunk

An NBA dataset is a dataset containing records or measurements about the National Basketball Association and its games, teams, or players.

An NBA dataset contains records about players, teams, games, seasons, drafts, or performance statistics. These datasets turn basketball questions into practical exercises in data wrangling, visualization, and statistical analysis. section 1.0 section 2.7

Common analytical uses include:

  • Importing and exploring first-round draft-pick records from the 2000–2009 amateur drafts. section 2.2
  • Cleaning box-score records by removing official names, deduplicating games, checking score integrity, and selecting relevant variables. section 9.3
  • Joining team statistics by team and season to compare wins, scoring, point differential, and playoff outcomes. section 14.2.5
  • Standardizing scoring-leader statistics to account for rule changes, playing styles, and other changes across eras. section 19.0

Importing a draft dataset

Read a CSV into R with `draft <- read_csv("draft.csv")`, then check its dimensions with `dim(draft)`. The illustrated dataset contains 293 rows and 26 columns before further wrangling. section 2.2

draft <- read_csv("draft.csv")

Use the executable import example to begin working with an NBA dataset in R. section 2.2

How Statistics Slam Dunk covers it

How deep it goes
Demonstrates executable preparation and exploration, including deduplication, integrity checks, joins, factors, visualization, and standardization.
Examples
Uses draft picks, box scores, team-season statistics, playoff categories, annual scoring leaders, points per game, and win shares.
What you can do after
Apply it via R, dplyr, ggplot2, and statistical techniques to prepare NBA records and derive interpretable basketball insights.
How it connects
Connects data wrangling, data visualization, statistical analysis, joins, categorical factors, win shares, and data standardization.

Related concepts

This explainer was generated by Manning's knowledge graph from the text of Statistics Slam Dunk. The section links point to the parts of the book it draws on.