Back to datasets
Dataset assetOpen Source CommunitySports StatisticsBasketball Data Analysis

NBA play-by-play data and shot details

The dataset contains play‑by‑play NBA game data and shot‑detail information from the 1996/97 season through the 2023/24 season, sourced from stats.nba.com, data.nba.com, and pbpstats.com.

Source
github
Created
Jan 7, 2023
Updated
May 20, 2024
Signals
957 views
Availability
Linked source ready
Overview

Dataset description and usage context

Dataset Overview

Name: NBA Play‑by‑Play and Shot‑Detail Dataset

Time Span: 1996/1997 – 2023/24

Update Date: 2023‑07‑11

Content:

  • Play‑by‑play and shot‑detail data for regular‑season and playoff games from 1996/97 to 2023/24.
  • Sources include stats.nba.com (from 1996/97), data.nba.com (from 2016/17) and pbpstats.com (from 2000/01).

Collection:

  • Data were gathered using scripts located in the loading folder.
  • Detailed field definitions are available in description_fields.md.

Download:

  • Clone the GitHub repository or use provided R/Python loading functions.
  • Full dataset also available on Kaggle and Google Drive.

Additional Information:

  • R and Python download script examples are provided.
  • An R notebook demonstrating dataset usage is available on Kaggle.
Need downstream help?

Pair the dataset with AI analysis and content workflows.

Once the source passes your review, move straight into summarization, transformation, report drafting, or presentation generation with the JuheAI toolchain.

Explore AI studio