Free NBA Play by Play Data
Free NBA Play by Play Data
I've been searching the web for free NBA play by play data - preferably formatted as a CSV or excel file - to do some NBA analysis, but have been unsuccessful finding what I'm looking for.
Does anybody know where I could go to find this data/have any tips on how to go about finding this data?
For a general idea of what I'm looking for, I found something similar at this URL - https://www.bigdataball.com/nba-histori ... n=glossary. The only problem is the data here is rather pricey.
Thanks in advance!
Does anybody know where I could go to find this data/have any tips on how to go about finding this data?
For a general idea of what I'm looking for, I found something similar at this URL - https://www.bigdataball.com/nba-histori ... n=glossary. The only problem is the data here is rather pricey.
Thanks in advance!
Re: Free NBA Play by Play Data
This should have most of what you need: https://github.com/ethanluoyc/statsnba-playbyplay
Developer of Box Plus/Minus
APBRmetrics Forum Administrator
GodismyJudgeOK.com/DStats/
Twitter.com/DSMok1
APBRmetrics Forum Administrator
GodismyJudgeOK.com/DStats/
Twitter.com/DSMok1
Re: Free NBA Play by Play Data
Ok I'll definitely try it out. Thanks so much!
Re: Free NBA Play by Play Data
You should be able to find anything you need here.
https://drive.google.com/open?id=19WhE2 ... fooejMTwNo
https://drive.google.com/open?id=19WhE2 ... fooejMTwNo
Re: Free NBA Play by Play Data
Wow this is awesome, and helps me out a ton. Thanks!
-
- Posts: 110
- Joined: Sun Jul 14, 2013 4:58 am
- Contact:
Re: Free NBA Play by Play Data
Can someone who knows where things are on github explain to me where I can go to see how to actually utilize the statsnba-playbyplay package? I installed it, but I have no idea wht it can do or how to use it to scrape play-by-play or parse it.DSMok1 wrote: ↑Fri Sep 14, 2018 12:45 pmThis should have most of what you need: https://github.com/ethanluoyc/statsnba-playbyplay
Sorry for the (probably) stupid question.
Re: Free NBA Play by Play Data
I've never use the packaged, but from what I can tell these are the two scripts you would run.
https://github.com/ethanluoyc/statsnba- ... er/scripts
You would run them as:
python PATH/TO/INSTALLED/scripts/download_playbyplay.py -i <GAME_ID> -o <FILE_TO_SAVE>
https://github.com/ethanluoyc/statsnba- ... er/scripts
You would run them as:
python PATH/TO/INSTALLED/scripts/download_playbyplay.py -i <GAME_ID> -o <FILE_TO_SAVE>
-
- Posts: 110
- Joined: Sun Jul 14, 2013 4:58 am
- Contact:
Re: Free NBA Play by Play Data
So if I wanted to use these scripts to pull a full seasons worth of data, I would have to modify them, probably?Rd11490 wrote: ↑Mon Oct 15, 2018 2:43 pmI've never use the packaged, but from what I can tell these are the two scripts you would run.
https://github.com/ethanluoyc/statsnba- ... er/scripts
You would run them as:
python PATH/TO/INSTALLED/scripts/download_playbyplay.py -i <GAME_ID> -o <FILE_TO_SAVE>
Re: Free NBA Play by Play Data
Yeah, you'd either need to do that, or import the project and write some more code to manually call the methods that those scripts call.