View previous topic :: View next topic |
Author |
Message |
supersub15
Joined: 21 Sep 2006 Posts: 273
|
Posted: Tue Oct 20, 2009 6:54 am Post subject: Play-by-play log with charges taken |
|
|
Looking for a play-by-play log for the 2008-2009 season. The one on BBvalue does not account for charges taken (it lists the player who commit the offensive foul, but not the player that caused it).
Does anybody know where I can find one?
Thanks |
|
Back to top |
|
|
back2newbelf
Joined: 21 Jun 2005 Posts: 274
|
|
Back to top |
|
|
supersub15
Joined: 21 Sep 2006 Posts: 273
|
Posted: Tue Oct 20, 2009 12:14 pm Post subject: |
|
|
Thanks. Those are much easier to analyze. Time to build some VBA scripts... |
|
Back to top |
|
|
deepak
Joined: 26 Apr 2006 Posts: 665
|
Posted: Tue Oct 20, 2009 3:40 pm Post subject: |
|
|
What is the source for the drawn-charge information?
It is not in any play by plays that I've seen online. |
|
Back to top |
|
|
Ryan J. Parker
Joined: 23 Mar 2007 Posts: 711 Location: Raleigh, NC
|
Posted: Tue Oct 20, 2009 5:15 pm Post subject: |
|
|
deepak_e wrote: | What is the source for the drawn-charge information?
It is not in any play by plays that I've seen online. |
I track all of this by hand!!
Just kidding. Take this game as an example:
Code: | 6:37 12-4 Rajon Rondo offensive foul (Mo Williams draws the foul)
6:37 12-4 Rajon Rondo turnover |
_________________ I am a basketball geek. |
|
Back to top |
|
|
deepak
Joined: 26 Apr 2006 Posts: 665
|
Posted: Tue Oct 20, 2009 10:26 pm Post subject: |
|
|
Ryan J. Parker wrote: | deepak_e wrote: | What is the source for the drawn-charge information?
It is not in any play by plays that I've seen online. |
I track all of this by hand!!
Just kidding. Take this game as an example:
Code: | 6:37 12-4 Rajon Rondo offensive foul (Mo Williams draws the foul)
6:37 12-4 Rajon Rondo turnover |
|
I never realized ESPN tracked that. NBA.com and CBS play by plays don't show who drew the foul. This is very good to know.
Do you base your play by play data on ESPN, or is it a combination of ESPN, CBS, and others? |
|
Back to top |
|
|
Ryan J. Parker
Joined: 23 Mar 2007 Posts: 711 Location: Raleigh, NC
|
Posted: Tue Oct 20, 2009 10:30 pm Post subject: |
|
|
The data comes from merging NBA PBP, ESPN PBP, and ESPN shot charts. This is part of the reason why not every game is available. Some times stuff just doesn't match up correctly. It's sad really, as no one has everything. The NBA PBP has the most events, but ESPN has full names (very helpful when figuring out which players are on the court), and in some cases ESPN more info (such as here with the player that draws the offensive foul). _________________ I am a basketball geek. |
|
Back to top |
|
|
deepak
Joined: 26 Apr 2006 Posts: 665
|
Posted: Tue Oct 20, 2009 10:43 pm Post subject: |
|
|
Ryan J. Parker wrote: | The data comes from merging NBA PBP, ESPN PBP, and ESPN shot charts. This is part of the reason why not every game is available. Some times stuff just doesn't match up correctly. It's sad really, as no one has everything. The NBA PBP has the most events, but ESPN has full names (very helpful when figuring out which players are on the court), and in some cases ESPN more info (such as here with the player that draws the offensive foul). |
When determining which players are on the floor, how would you handle the case where a player starts a half, isn't involved in any event where his name shows up, and is only taken out in between quarters? Do player substitutions between quarters show up explicitly in the PBP? |
|
Back to top |
|
|
Ryan J. Parker
Joined: 23 Mar 2007 Posts: 711 Location: Raleigh, NC
|
Posted: Tue Oct 20, 2009 11:05 pm Post subject: |
|
|
These have to be resolved by hand. Basically I have a routine that keeps track of players to ensure it finds the 5 guys that started the given quarter. So in this case we have a phantom player that wasn't in any of the events, so I report an error and have to figure out this player by hand. This is pretty rare, except of course for in overtime periods.
There are also cases where a player shows up before he was subbed in, so it looks like >5 guys started the quarter. This is also reported as an error and must be resolved by hand. _________________ I am a basketball geek. |
|
Back to top |
|
|
deepak
Joined: 26 Apr 2006 Posts: 665
|
Posted: Tue Oct 20, 2009 11:42 pm Post subject: |
|
|
Ryan J. Parker wrote: | These have to be resolved by hand. Basically I have a routine that keeps track of players to ensure it finds the 5 guys that started the given quarter. So in this case we have a phantom player that wasn't in any of the events, so I report an error and have to figure out this player by hand. This is pretty rare, except of course for in overtime periods.
There are also cases where a player shows up before he was subbed in, so it looks like >5 guys started the quarter. This is also reported as an error and must be resolved by hand. |
Thanks. A few more questions, if you don't mind:
What scripting language do you use to parse the PBPs?
Also, what are some examples of events provided in the NBA.com PBPs that aren't found elsewhere? |
|
Back to top |
|
|
Ryan J. Parker
Joined: 23 Mar 2007 Posts: 711 Location: Raleigh, NC
|
Posted: Tue Oct 20, 2009 11:44 pm Post subject: |
|
|
I use Perl. Some of the things that come to mind are certain technical fouls and the descriptions of certain types of turnovers. If I recall correctly the NBA descriptions of fouls and turnovers tend to be better in most cases. _________________ I am a basketball geek. |
|
Back to top |
|
|
|