You are not logged in.
I'm not sure how many football fans are here, but in case anyone finds it useful...
nflgame is a convenient tool that can be used to programmatically analyze statistics from NFL games. The data is retrieved directly from NFL.com. In fact, it's the same data used to power NFL.com's live updating Game Center. (For the curious, the data is not scraped—it is taken directly from a JSON feed.)
Even if you aren't a programmer, I believe nflgame should still be simple and intuitive enough to at least play around with. At the very least, you can export all of the data to a spreadsheet program where you might be more comfortable.
Who lead the league in rushing between weeks 10 and 14 of the 2010 regular season?
I won’t make you hunt down the answer. Here’s five lines of code that lists the top ten rushers in weeks 10-14 of the 2009 season:
>>> import nflgame
>>> games = nflgame.games(2010, week=[10, 11, 12, 13, 14])
>>> players = nflgame.combine(games)
>>> for p in players.rushing().sort("rushing_yds").limit(10):
... print p, p.rushing_yds
...
...
M.Jones-Drew 531
J.Charles 418
K.Moreno 381
M.Turner 368
A.Foster 366
F.Jackson 350
M.Forte 347
L.Blount 331
P.Hillis 318
B.Green-Ellis 314
Links:
Education is favorable to liberty. Freedom can exist only in a society of knowledge. Without learning, men are incapable of knowing their rights, and where learning is confined to a few people, liberty can be neither equal nor universal.
Tu ne cede malis sed contra audentior ito
Offline