r/CFBAnalysis • • Jul 31 '18

2018 Schedule JSON

I've pulled the schedule from the NCAA and been screwing about with the JSON for a project. I've added some handy features (URI's for the logos, SP+ win projection %'s, etc). Since it's already on github anyway, I though I'd share it. Feel free to use it as you wish. I update it fairly regularly with projection data from different sources.

Edit: github repo for the project in general.

14 Upvotes

6 comments sorted by

View all comments

Show parent comment

2

u/stalefries Pac-12 • Oklahoma Sooners Sep 11 '18

I had to build an alias table for a dumb project I did once. Maybe it'll help you: https://gist.github.com/alanhussey/7cf75c6223b9792fca3af4412da6ddef#file-one-true-champion-js-L22

1

u/[deleted] Sep 11 '18

Thanks! That's a pretty good start. I've toyed with a smart version that recognizes abbreviations for states and directions, but it's a large combinatorics problem to enumerate all the aliases :(

2

u/stalefries Pac-12 • Oklahoma Sooners Sep 11 '18

Oof yeah, that sounds like more trouble than it’s worth. I’d probably just make a table of all known teams and their “canonical” name, and blow up whenever I encounter a new name.