This is Google's cache of viewtopic.php?p=31578&sid=cc937c9d6dd406375a93f642d5f48bbd. It is a snapshot of the page as it appeared on Apr 8, 2011 18:30:56 GMT. The current page could have changed in the meantime. Learn more

Text-only version
These search terms are highlighted: cherokee_acb  
APBRmetrics :: View topic - 4 factors in boxscores
APBRmetrics Forum Index APBRmetrics
The statistical revolution will not be televised.
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

4 factors in boxscores
Goto page Previous  1, 2, 3, 4, 5, 6, 7  Next
 
Post new topic   Reply to topic    APBRmetrics Forum Index -> General discussion
View previous topic :: View next topic  
Author Message
cherokee_ACB



Joined: 22 Mar 2006
Posts: 157

PostPosted: Mon Nov 02, 2009 7:34 am    Post subject: Reply with quote

gabefarkas wrote:

Just out of curiosity, are the changes to your ESPN script the same as what's described above, or did you do something different?


Same as above. I wanted to include your "winning-team-in-bold" improvement, but didn't have time.
Back to top
View user's profile Send private message
bastillon



Joined: 04 Nov 2008
Posts: 55

PostPosted: Tue Nov 03, 2009 7:07 am    Post subject: Reply with quote

big thanks cheerokee
Back to top
View user's profile Send private message Send e-mail
zHoops



Joined: 15 Nov 2009
Posts: 1

PostPosted: Sun Nov 29, 2009 4:01 pm    Post subject: Re: 4 factors in boxscores Reply with quote

Very impressive cherokee, thanks for the good work!
_________________
www.binahoop.com - Reinventing the Box Score
Back to top
View user's profile Send private message
Carlos



Joined: 21 Jan 2005
Posts: 64
Location: Montevideo, Uruguay

PostPosted: Tue Feb 02, 2010 8:48 pm    Post subject: Reply with quote

ESPN has changed the format of the boxscores pages again, making the script non functional.
¿Does somebody has any idea of how to fix this?
Back to top
View user's profile Send private message
Joe



Joined: 27 Sep 2009
Posts: 94
Location: Long Island, NY

PostPosted: Tue Feb 02, 2010 9:33 pm    Post subject: Reply with quote

Just go to hoopdata.com instead.
_________________
http://www.hoopdata.com
Back to top
View user's profile Send private message Visit poster's website
jkubatko



Joined: 05 Jan 2005
Posts: 702
Location: Columbus, OH

PostPosted: Wed Feb 03, 2010 9:23 am    Post subject: Reply with quote

Carlos wrote:
ESPN has changed the format of the boxscores pages again, making the script non functional.
¿Does somebody has any idea of how to fix this?


I'm not sure how to fix this, but Basketball-Reference.com's box scores now have a Four Factors summary. I hope that proves to be helpful.
_________________
Regards,
Justin Kubatko
Basketball-Reference.com
Back to top
View user's profile Send private message Send e-mail Visit poster's website
cherokee_ACB



Joined: 22 Mar 2006
Posts: 157

PostPosted: Wed Feb 03, 2010 2:07 pm    Post subject: Reply with quote

Quick fix available, although for some reason the color code is not working (and now this also works). To check, just go to
http://scores.espn.go.com/nba/boxscore?gameId=300202005

(I haven't tested yet with live games, though)


Last edited by cherokee_ACB on Thu Feb 04, 2010 2:48 am; edited 1 time in total
Back to top
View user's profile Send private message
Carlos



Joined: 21 Jan 2005
Posts: 64
Location: Montevideo, Uruguay

PostPosted: Wed Feb 03, 2010 7:13 pm    Post subject: Reply with quote

Big thanks to Joe and Justin for the suggestions and to Cherokee_ACB for the great work.
Back to top
View user's profile Send private message
cherokee_ACB



Joined: 22 Mar 2006
Posts: 157

PostPosted: Sun Feb 07, 2010 1:56 pm    Post subject: Reply with quote

Just a heads up, I've fixed a problem with pace computation on live games.
Back to top
View user's profile Send private message
Serhat Ugur (hoopseng)



Joined: 13 Oct 2006
Posts: 209
Location: Basketball Research

PostPosted: Sun Feb 07, 2010 4:58 pm    Post subject: Reply with quote

cherokee_ACB wrote:
Just a heads up, I've fixed a problem with pace computation on live games.

You are the man! Thanks for fixing it...
_________________
http://www.nbastuffer.com
Back to top
View user's profile Send private message Visit poster's website
Carlos



Joined: 21 Jan 2005
Posts: 64
Location: Montevideo, Uruguay

PostPosted: Mon May 10, 2010 2:52 pm    Post subject: Reply with quote

If you tried to use this script lately, you probably saw that it wasn't working.
The fix is to locate this line

Quote:
var toHolderA = toCells.snapshotItem(1).textContent.match(toRegEx);
var toHolderH = toCells.snapshotItem(3).textContent.match(toRegEx);


and to replace it for this one

Quote:
var toHolderA = toCells.snapshotItem(0).textContent.match(toRegEx);
var toHolderH = toCells.snapshotItem(1).textContent.match(toRegEx);
Back to top
View user's profile Send private message
Carlos



Joined: 21 Jan 2005
Posts: 64
Location: Montevideo, Uruguay

PostPosted: Mon May 10, 2010 7:57 pm    Post subject: Reply with quote

Sorry, but it doesn't seems to work for live games (on ESPN boxscores).
Back to top
View user's profile Send private message
StatsbyNumbers



Joined: 30 Apr 2010
Posts: 10
Location: Santa Barbara, CA

PostPosted: Fri May 14, 2010 1:11 pm    Post subject: Possessions Reply with quote

FYI - ESPN changes their boxscore format at the end of the first round (or near it) each year - it will likely revert back to the regular season format next year. I believe they contracted a different firm to work the stylesheets for them as it started changing a couple years back(the format includes more detailed stuff like series stats than they do in the regular season). Another fair warning is that sometimes the play-by-plays that are available on ESPN don't make logical sense (although I'm not sure of the impact in your script) e.g. team rebounds missing, offensive rebounds out of order, plays that are inserted in later periods, missing substitutions at the end of periods.

I don't have the stats available live, but they are usually posted within the hour or two of the game finishing and play-by-plays are much more well ordered if you'd like to run scripts on them. I am still missing my pace stat (pace = 48min*60sec / avg. poss in sec), but I do have non-estimated (actual) possession statistics for the entire post season. http://statsbynumbers.com/game/

Hope you find the data useful. Thanks,
Back to top
View user's profile Send private message Send e-mail Visit poster's website
Mike G



Joined: 14 Jan 2005
Posts: 3618
Location: Hendersonville, NC

PostPosted: Fri May 14, 2010 2:18 pm    Post subject: Re: Possessions Reply with quote

StatsbyNumbers wrote:
FYI - ESPN changes their boxscore format at the end of the first round (or near it) each year ...
(the format includes more detailed stuff like series stats ...

Do you have a link to their series stats?

Rummaging around there for 10 or 15 minutes, I don't find anything like that.
_________________
`
36% of all statistics are wrong
Back to top
View user's profile Send private message Send e-mail
StatsbyNumbers



Joined: 30 Apr 2010
Posts: 10
Location: Santa Barbara, CA

PostPosted: Fri May 14, 2010 6:14 pm    Post subject: Inconsistencies Reply with quote

They unfortunately don't have series stats more than the little box that comes up with the win loss stats (http://scores.espn.go.com/nba/scoreboard?date=20100513) at the bottom of a game summary. I was just trying to point out some of the post season and regular season differences that may be affecting the regular expression searches that are being done. The regular season stuff doesn't have any series stats on it (http://scores.espn.go.com/nba/scoreboard?date=20100414). Some of the major changes are the stylesheet class names. In the regular season, they use the classes "odd" and "even", while in the post season they use "oddrow" and "evenrow". However there are many more inconsistencies (more than I could name here) between the two templates.

Since people have been asking for series stats, I will be adding them to the player and team pages on my site. I'm finishing up my first article, but once that is done I will make the changes.
Back to top
View user's profile Send private message Send e-mail Visit poster's website
Display posts from previous:   
Post new topic   Reply to topic    APBRmetrics Forum Index -> General discussion All times are GMT - 5 Hours
Goto page Previous  1, 2, 3, 4, 5, 6, 7  Next
Page 6 of 7

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group