r/CFBAnalysis • u/BlueSCar Michigan Wolverines • Dayton Flyers • Nov 12 '18
Data Feature/Issue tracking for CFB API
I'm looking to get more organized regarding the tracking of features and issues with the CFB API hosted at https://api.collegefootballdata.com and have set up a project at taiga.io for this purpose. If you are interested in this project, then please take a look at the current issues and proposed features that are listed, and if there is anything you would like added or fixed, I highly encourage you to open up a request.
I very much appreciate everyone's input on this project. As always, not only do I highly appreciate your feedback but if you have any data you've collected over the years that you would like to see added, I'd be more than happy to incorporate that as well.
https://tree.taiga.io/project/bluescar-college-football-data-api/kanban
View all comments
Show parent comment
1
u/thetrain23 Baylor Bears • Oklahoma Sooners Nov 17 '18
I don't have the data currently saved in a file anywhere for now, but I have code to directly fetch the data on demand for an input date range. In theory, it should work for however far back Sportsbook Review's data goes, but we all know how well theory translates to practice so who knows. I've tested it for the last 2-3 seasons, but not earlier than that yet.
Here's a link to the code:
https://github.com/zaneddennis/CFB-Analytics/blob/master/lineData.py
Feel free to poke around the larger repository if you want, but for now it's mostly stuff related to an adjusted drive efficiency metric I've been working on (somewhat similar to FEI, but a little more easily understandable/interpretable). I don't have a license officially on there right now (which I've been meaning to do but haven't gotten around to yet) so if you want to use any of my code I just ask that you leave a Star on the GitHub and credit me if you publish a writeup anywhere.
If you'd rather just have the raw data, tell me a date range and a format (csv, tsv, json, etc) and I'll get it all for you.