NBA_Tutorials icon indicating copy to clipboard operation
NBA_Tutorials copied to clipboard

Pulling Data From Entire Season?

Open spookymuffin178 opened this issue 5 years ago • 4 comments

I am looking at the later tutorial based around analyzing the play by play data which redirects me to this page to create a play-by-play scraper. But, this one seems to be just for substitutions, and just for one game. Do you have a file or a tutorial that shows how to scrape data from an entire season? I am somewhat new to coding so it may already be plainly out here for me to see, but I am missing it. I am just looking for a reliable way to scrape season data every week or so to stay updated. Sorry if this question wastes your time if the answer is very obvious.

spookymuffin178 avatar Feb 08 '20 00:02 spookymuffin178

Hey @spookymuffin178, This is not a stupid question. I am working on a data processing pipeline https://github.com/rd11490/russell_v2 My plan is to do a write up when I finish it to explain how it all works.

I'll try to write a quick tutorial soon on how to get an entire season of data.

rd11490 avatar Feb 12 '20 17:02 rd11490

Hey @rd11490, just curious if you ever were able to work on the tutorial for scraping an entire season of data. I'm like @spookymuffin178 in that I'm no expert in coding, but was able to follow your pbp parsing tutorial to get pbp for single games, but was trying to figure out how to do that for full seasons at a time.

RobbieBeats avatar Feb 12 '22 22:02 RobbieBeats

@RobbieBeats I started working on one today, i'll hopefully get it up tonight. At worst I'll post commented code with out a write up and do the writeup tomorrow.

rd11490 avatar Feb 13 '22 23:02 rd11490

Sorry I never got around to this before @spookymuffin178 @RobbieBeats . I've added it here: https://github.com/rd11490/NBA_Tutorials/blob/master/download_season_pbp/ I'll work on the writeup tonight when I get a chance.

rd11490 avatar Feb 14 '22 00:02 rd11490