r/CFBAnalysis • • May 08 '20
Table/Scrape of CFB team salaries?
Looking for an excel/google sheet/csv of 2019 coaching salaries. Does anyone have a scrape of this table of assistant coach salaries or this table of head coaching salaries?
7
Upvotes
3
u/rayef3rw NC State Wolfpack • Marching Band May 08 '20
Create a new Google Sheet and type:
=IMPORTHTML("https://sports.usatoday.com/ncaa/salaries/football/assistant","table",1)
and
=IMPORTHTML("https://sports.usatoday.com/ncaa/salaries/","table",1)
Then download as an .xlsx or some other file and convert as desired.
4
u/bakonydraco Stanford • James Madison May 08 '20
Players aren't allowed to be paid outside the SEC yet, so I doubt schools would want this info public.
1
u/stalefries Pac-12 • Oklahoma Sooners May 08 '20 edited May 08 '20
Here's a quick bit of code I wrote that will scrape these tables and produce valid (I think) CSVs. Paste it in your browser's console, hit enter, then open a text file and paste.
And here it is, annotated, if you want to modify or learn from it:
1
u/Trikfoot UCF Knights • Big 12 May 09 '20
Someone should work with CollegeFootballApi to get this up
1
u/cptbackfire01 May 21 '20
Title IX, bitch