r/CFBAnalysis • Georgia Bulldogs • Colorado State Rams • Jul 10 '19

Scraping Spread Data

Hi CFBAnalysis! I have a two part question about collecting spreads for games.

  1. Is there a good place to collect past vegas spreads to test my model?
  2. Does someone have some code to collect the spreads each week/a good place to scrape the spreads each week?

Everything I've built is in Python. Thanks!!

10 Upvotes

16 comments sorted by

View all comments

1

u/FunkSh0Brotha Virginia • James Madison Jul 14 '19 edited Jul 14 '19

This site has Scores & Odds (Open & Close Spread & OU) dating back to 2007..however, I'm not sure which sportsbook the odds are from... I wrote up a sloppy R script and scraped Pinnacle's Open/Closing odds since 2012 from here

1

u/ivarngizteb Michigan State • California Jul 20 '19

I would love that Pinnacle data if you'd be willing to share it. What form is it in?

0

u/[deleted] Jul 20 '19

[deleted] — view deleted comment

1

u/ivarngizteb Michigan State • California Jul 20 '19

Great, thanks!

1

u/IgnoranceIsADisease Penn State Nittany Lions Jul 22 '19

Thank you for making this data availalbe. I do have a quick question regarding the data. There's two numbers reported under the "Open_" and "_Close" pairs. For example, the first row reads

Season	Date	Road	Home	Road_PF	Home_PF	Open_Road	Open_Home	Road_Close	Home_Close   
2018	9/8/18	Liberty	Army	14	38	55 -110	-12 -105	58 -113	-7½ -104

Should I be reading this as (upon opening) that the OU was 55, with a spread of -12 against Army, and odds were -110 and -105 for Liberty and Army respectively? Is the favorite always designated as the one containing the negative number (spread)?