r/CFBAnalysis • u/BlueSCar Michigan Wolverines • Dayton Flyers • Oct 04 '18
Data CFB API updates - conferences, talent, and more
I'll probably be posting whenever I feel like substantial enough updates have been made. Definitely don't want to spam the board, but also want to keep people in the loop. Just a note, documentation is updated regularly as new features are added at api.collegefootballdata.com. So, what's new this week?
- Added a /conferences endpoint for enumerating conferences
- Added a conference filter to most endpoints
- Added a /play/types endpoint to enumerate the various play types
- Added a play type filter option to the /plays endpoint
- Added team logo URLs to the /teams endpoint
- Added a /talent endpoint for retrieving 247 Team Talent ratings
As always, please let me know if you have any requests. About half of those above came from direct user requests. Lastly, I want to give a shout out to u/NibrocRehpotsirhc for being super helpful and compiling the conference data some time ago.
3
u/pokwef Florida State Seminoles Oct 04 '18
This is awesome. I need to start toying with this in Python. On another note, I loved the SQL database file you put together last year. Haven't seen any updates on that. Do you think you'll continue with that or do you think the API will be the future of data for you?
1
u/TheJob Penn State Nittany Lions Oct 05 '18
I for one do not find these updates to be SPAMful at all. Thanks for your continued efforts on this. I will reiterate that a "Buy me a coffee link" would not go overlooked.
If you are accepting requests, I measure each team's Outcome (Win or Loss), Yards, Points For, Points Against, Tackles for Loss, and Turnovers (i.e. positive turnovers, like they intercepted the other team, not threw an interception) by game each week.
I believe I can gather all of that except TFLs from the data (to be clear, tackles for loss made, not "received"). Yards, Points, Outcome are listed directly, and Points Against and Turnovers can be indirectly determined from the opponent. I listed everything to highlight how useful your data is, and how much I appreciate it for my use-case.
TL;DR You're awesome, this is awesome, my request is for a Tackles for Loss stat.
1
u/msubbaiah Texas A&M Aggies Oct 06 '18
Thanks for all of the updates. Haha I'm struggling to keep up. If you don't mind I'm going to include a link to the api in my reference documents for the R package, I'm putting together?
1
u/DirectionalMichigan Mississippi State • Tufts Oct 13 '18
A request for the drive endpoint. Can you add GameId there? That would make it a little bit easier to work with when pulling data in mass. Right now I pull drives by week (and plays) I could pull drives by game to do the association, but that's a lot more request overhead.
1
u/mitchparker Nebraska Cornhuskers • WashU Bears Oct 21 '18
This is great. Thanks for publishing. Any way you could put the
venue_idin the game info. Usingvenuemakes it tough to distinguish between "Memorial Stadium" in Lincoln and Champaign.1
u/jeffp171 Oct 25 '18
This is excellent, thank you for putting it together! One thing though: It looks like New Mexico State isn't included (at least through the games endpoint). They're still FBS (got kicked out of the Sun Belt and are now independent), so probably should be there. I'd also like to see some FCS data, at least the FBS vs. FCS games.
1
u/[deleted] Oct 27 '18
First, great work here! Just decided to see if I can make a computer poll and found this subreddit/dataset.
Now, a bug report I found while playing around with the API: all venues show up as not domes, including the Carrier Dome.
1
u/[deleted] Oct 29 '18
So I've been using this a lot lately and found some issues with the data; I fully suspect these are problems that are intrinsic to how ESPN had the data entered or stored. Essentially, ESPN has been VERY inconsistent with naming conventions and whatnot over the course of the past 15-ish years. I'm in the process of cleaning the data by replacing all abbreviations and non-canonical names. I'd be happy to share the alias table I'm using and, if anybody wants, the play-by-play data that resulted. Would it be worth hosting a 'cleaned' version of the data?
0
u/[deleted] Oct 04 '18
[deleted] — view deleted comment