- install mysql: https://dev.mysql.com/downloads/installer/
- set up username and password
- mysql server start
- mysql -u <USER_NAME> -p
- type in password
- create database nba_data;
- create creds file in form of (see MySqlCredExample.json):
{
"Username": <USER_NAME>,
"Password": <PASSWORD>
}
- install Anaconda: https://www.anaconda.com/distribution/
- conda env create
python3 -m src.etl.game_log -h
python3 -m src.etl.box_score_traditional -h
python3 -m src.etl.box_score_advanced -h
python3 -m src.etl.play_by_play -h
python3 -m src.etl.players_on_court_per_period -h
python3 -m src.etl.player_season_totals -h
python3 -m src.etl.player_tracking_season_totals -h
python3 -m src.etl.win_probability -h
python3 -m src.etl.shots -h
python3 -m src.etl.download_season -h
python3 -m src.etl.download_season -s 2018-19 -st 'Regular Season' --run-all