Skip to main content

Python data module similar to the R data package for Introduction to Sports Analytics using R

Project description

isapy-data

PyPI version PyPI downloads License: MIT Python versions

This is the repository for the python data module (author: Ryan Elmore) that is similar to the R package ISAR for Introduction to Sports Analytics using R by Ryan Elmore and Andrew Urbaczewski.

PyPI

View the project on PyPI

Installation

pip install isapy-data

Usage

import isapy_data

# List all available datasets
isapy_data.list_datasets()

# Load a dataset
masters = isapy_data.load_data("masters")

# Get information about a specific dataset
isapy_data.describe("masters")

# Print info about all datasets
isapy_data.info()

Available Datasets

Golf

  • masters - Masters Tournament data
  • masters_2025 - 2025 Masters Tournament scores
  • ow_golf_rankings - Official World Golf Rankings
  • pga_tournaments - PGA Tour tournament data

NBA

  • nba_adv_team_2021, nba_adv_team_2023, nba_adv_team_2024, nba_adv_team_2025 - Advanced team statistics
  • nba_ff_team_2021, nba_ff_team_2023, nba_ff_team_2024, nba_ff_team_2025 - Four factors team statistics
  • nba_games_2021, nba_games_2023, nba_games_2024, nba_games_2025 - Game results
  • nba_nuggets_shots - Denver Nuggets shot location data
  • nba_nuggets_shots_2025 - Denver Nuggets shot data for 2015/16 - 2024/25 seasons

NHL

  • avs_roster_2021, avs_roster_2022 - Colorado Avalanche roster data
  • avs_stats_2021, avs_stats_2022 - Colorado Avalanche player statistics
  • nhl_data_hockey_reference - NHL data from Hockey Reference
  • nhl_team_stats_2021, nhl_team_stats_2022 - NHL team statistics

English Premier League

  • epl_gk_stats_2022 through epl_gk_stats_2025 - Goalkeeper statistics
  • epl_player_stats_2022 through epl_player_stats_2025 - Player statistics
  • epl_team_stats, epl_team_stats_2023, epl_team_stats_2024, epl_team_stats_2025 - Team statistics

WNBA

  • wnba_player_shots_2024, wnba_player_shots_2025 - Player shot data
  • wnba_seattle_pbp_2024, wnba_seattle_pbp_2025 - Seattle Storm play-by-play data

NWSL

  • nwsl_player_stats, nwsl_player_stats_2023, nwsl_player_stats_2024 - Player statistics

DraftKings

  • dk_bos_buf - Boston Bruins at Buffalo Sabres (NHL Playoffs, April 21, 2026)
  • dk_edm_col - Edmonton vs Colorado
  • dk_lac_dal - LA Clippers vs Dallas
  • dk_mem_utah - Memphis vs Utah
  • dk_nyr_car - NY Rangers vs Carolina

License

MIT

Citation

If you use this data in your research, please cite:

Elmore, R. (2025). Introduction to Sports Analytics using Python.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

isapy_data-0.1.7.tar.gz (3.9 MB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

isapy_data-0.1.7-py3-none-any.whl (4.1 MB view details)

Uploaded Python 3

File details

Details for the file isapy_data-0.1.7.tar.gz.

File metadata

  • Download URL: isapy_data-0.1.7.tar.gz
  • Upload date:
  • Size: 3.9 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.13.0

File hashes

Hashes for isapy_data-0.1.7.tar.gz
Algorithm Hash digest
SHA256 93888d26371ea7e00638d3012990b10c0afd24537646199b5383681017ff53ea
MD5 922a41da8159baa2533e28224a147c9b
BLAKE2b-256 30b34b5f035128a7d0ffb839d0a20cc93836655b36a07c01c4f6a97867595406

See more details on using hashes here.

File details

Details for the file isapy_data-0.1.7-py3-none-any.whl.

File metadata

  • Download URL: isapy_data-0.1.7-py3-none-any.whl
  • Upload date:
  • Size: 4.1 MB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.13.0

File hashes

Hashes for isapy_data-0.1.7-py3-none-any.whl
Algorithm Hash digest
SHA256 1b87acaf3a7f26fd2959677afd431485c839624f40419e03b7c0ab0dbca8f7c7
MD5 6ce0bf7c1816cc2f93d8465ee063ca69
BLAKE2b-256 f2b2ebf243c53d7111eac0f5e87f70817329ceb40923dc38066ba6caaabc0c30

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page