Skip to content

rd11490/russell_v2

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

22 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

WIP: Python NBA Data Pipeline

Steps:

  1. install mysql: https://dev.mysql.com/downloads/installer/
  2. set up username and password
  3. mysql server start
  4. mysql -u <USER_NAME> -p
  5. type in password
  6. create database nba_data;
  7. create creds file in form of (see MySqlCredExample.json):
{
  "Username": <USER_NAME>,
  "Password": <PASSWORD>
}
  1. install Anaconda: https://www.anaconda.com/distribution/
  2. conda env create

Commands

Download Game Log

python3 -m src.etl.game_log -h

Download Box Scores Traditional

python3 -m src.etl.box_score_traditional -h

Download Box Scores Advanced

python3 -m src.etl.box_score_advanced -h

Download Play By Play

python3 -m src.etl.play_by_play -h

Download Players At The Start Of Each Period

python3 -m src.etl.players_on_court_per_period -h

Download Player Season Totals

python3 -m src.etl.player_season_totals -h

Download Tracking Data

python3 -m src.etl.player_tracking_season_totals -h

Download Win Probability

python3 -m src.etl.win_probability -h

Download Shots

python3 -m src.etl.shots -h

Download Season

python3 -m src.etl.download_season -h python3 -m src.etl.download_season -s 2018-19 -st 'Regular Season' --run-all

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Languages