Metadata-Version: 2.4
Name: isapy-data
Version: 0.1.6
Summary: Python data module similar to the R data package for Introduction to Sports Analytics using R
Author-email: Ryan Elmore <ryan.elmore@du.edu>
License: MIT
Project-URL: Homepage, https://github.com/rtelmore/ISAPy
Project-URL: Repository, https://github.com/rtelmore/ISAPy
Project-URL: Documentation, https://datacolorado.com/python/ISAPy/
Keywords: sports,analytics,data,statistics,python
Classifier: Development Status :: 3 - Alpha
Classifier: Intended Audience :: Education
Classifier: Intended Audience :: Science/Research
Classifier: License :: OSI Approved :: MIT License
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.9
Classifier: Programming Language :: Python :: 3.10
Classifier: Programming Language :: Python :: 3.11
Classifier: Programming Language :: Python :: 3.12
Classifier: Topic :: Scientific/Engineering
Requires-Python: >=3.9
Description-Content-Type: text/markdown
License-File: LICENSE
Requires-Dist: pandas>=1.5.0
Provides-Extra: dev
Requires-Dist: pytest>=7.0; extra == "dev"
Requires-Dist: build; extra == "dev"
Requires-Dist: twine; extra == "dev"
Dynamic: license-file

# isapy-data

[![PyPI version](https://img.shields.io/pypi/v/isapy-data)](https://pypi.org/project/isapy-data/)
[![PyPI downloads](https://img.shields.io/pypi/dm/isapy-data)](https://pypi.org/project/isapy-data/)
[![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg)](https://opensource.org/licenses/MIT)
[![Python versions](https://img.shields.io/pypi/pyversions/isapy-data)](https://pypi.org/project/isapy-data/)

This is the repository for the python data module (author: Ryan Elmore) that is similar to the R package [ISAR](https://github.com/rtelmore/ISAR) for *Introduction to Sports Analytics using R* by Ryan Elmore and Andrew Urbaczewski.

## PyPI

[View the project on PyPI](https://pypi.org/project/isapy-data/)

## Installation

```bash
pip install isapy-data
```

## Usage

```python
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_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*.
