Data Scraping
Data Source
Difficulty
- No “well-prepared” datasets
- Multiple data sources within the website
- Need to scrape data from websites
Team Stats
2018-19 NBA Team Cumulative Season Games Finder
Game Stats
2018-19 NBA Schedule and Results
Secondary Info
get_ws_data(year)
: obtain the win share data in specific yearget_injury_data(year)
: obtain the severe player injuries, sorted by “cash earned during injury”get_ws_injury_trans_data(year)
: obtain the winshare data considering player injuries and team transfer.