JoshWeiner / NBA_Game_Prediction

Repository for CIS 545 Final Project: Predicting NBA Game Outcomes with Machine Learning.
28 stars 17 forks source link

Data scraping function not working #3

Closed omkarxx closed 2 years ago

omkarxx commented 2 years ago

The functions defined to scrape data using the URLs saved in url_data json file are not working. The functions just save the empty csv file. please look into the functions asap.

image

barbaraon commented 2 years ago

Could you solve it ? @omkarxx

JoshWeiner commented 2 years ago

Hi all, sorry to hear about this problem you're running into.

We accessed data from Synergy Sports with funding from the University of Pennsylvania. They, through their Division 1 athletic programs had signed a contract with Synergy Sports through which we also received access. As an unfortunate consequence of this, we are not at liberty to provide public access to our dataset- nor is it straightforward to create an account with Synergy Sports as an individual. This is likely the wall you all were running into.

However, we have compiled a list of alternative datasets through which one can replicate and improve upon our data. More work may be required to scrape certain sites than can be achieved by replacing the url in our notebook. Hope these help: https://www.basketball-reference.com/leagues/ https://www.kaggle.com/datasets/wyattowalsh/basketball https://www.kaggle.com/datasets/nathanlauga/nba-games https://www.kaggle.com/datasets/drgilermo/nba-players-stats