Overview
The player statistics collection contains comprehensive player-level data including shooting splits by defender distance, play-by-play totals, shot zone analytics, and advanced shooting metrics. Data covers both regular season and playoff games from 2014 through 2025.Data Files
Player Shooting
Shooting performance by closest defender distance
player_shooting.csv(Regular Season)player_shooting_p.csv(Playoffs)
Shot Zones
Field goal attempts and accuracy by court zone
shotzone.csv(Regular Season)shotzone_ps.csv(Playoffs)
Dribble Shots
Shot attempts categorized by dribbles before shot
dribbleshots.csv(Regular Season)dribbleshots_ps.csv(Playoffs)
Play-by-Play Totals
Comprehensive per-game statistics
pbp_totals.csv(Regular Season)pbp_totals_ps.csv(Playoffs)
Schema: Player Shooting
File:player_shooting.csv / player_shooting_p.csvGenerated by:
player_shooting.pyRecords: ~100,000+ player-season-shot type combinations
Core Fields
- Identifiers
- Performance Metrics
- 2PT / 3PT Splits
NBA.com unique player identifier
Player name
Team abbreviation (e.g., LAL, BOS, GSW)
Season ending year (e.g., 2024 for 2023-24 season)
Defender proximity category:
very_tight, tight, open, wide_openSample Data
Schema: Shot Zone Analytics
File:shotzone.csv / shotzone_ps.csvRecords: ~50,000+ player-season records
Key Fields
Key Fields
Player name
Player ID from PBPStats API
Field goal attempts at the rim (< 6 feet)
Field goals made at the rim
Shooting percentage at rim (0-1 scale)
Mid-range attempts (short distance)
Mid-range attempts (long distance)
Corner three-point attempts
Corner three-point makes
True shooting percentage
Effective field goal percentage
Average expected points per shot attempt
Schema: Dribble Shots
File:dribbleshots.csv / dribbleshots_ps.csv
Shot attempts categorized by number of dribbles taken before the shot (0, 1, 2, 3-6, 7+ dribbles).
Dribble range:
0, 1, 2, 3-6, 7+Percentage of player’s shots in this dribble range
Schema: Play-by-Play Totals
File:pbp_totals.csv / pbp_totals_ps.csvSize: 23+ MB (regular season), 7+ MB (playoffs) Detailed play-by-play aggregated statistics from pbpstats.com API.
Usage Examples
Find Elite Catch-and-Shoot Players (0 Dribbles)
Analyze Shot Selection by Defender Distance
Shot Zone Analysis
Data Collection Scripts
player_shooting.py
Scrapes NBA.com stats API for shooting data by defender distance
scrape_shooting.py
Additional shooting data collection utilities
Notes
- Files with
_psor_psuffix contain playoff data - Percentage fields (FREQ%, FG%, etc.) are on 0-100 scale in CSV files
- Data spans 2014-2025 seasons
- Some 2025 data may be incomplete depending on collection date