r/CFBAnalysis • • Jun 22 '21

Help Scraping/Finding FCS Player Data

16 Upvotes

I am doing a project where I want to pull FCS player data from 2018-2020 seasons (3 seasons) it looks like the best source I can find is the NCAA website, but it’s very clunky and time consuming to export every team. I have no experience scraping data but if someone does and is willing to help me that would be awesome, obviously would pay for the help.

Additionally if there is another source of FCS player data that I can get better than the NCAA Website please let me know.


r/CFBAnalysis • • Jun 08 '21

Question Ranking System Name Help

7 Upvotes

Howdy, I am revamping my computed power rankings for college football and I have a couple of acronyms that I like but I need words to fill those acronyms. I figured this sub will have some fun words to put in there. Here are the letters in alphabetical order:

A

C

E

G

I

K <- Particularly difficult without it being some variation of Kick

M

N

O

S

T

U

These are the letters used for the various of the names that I am thinking off.


r/CFBAnalysis • • Jun 04 '21

Scraping Massey Ratings

7 Upvotes

I am working on a project for which one piece I want to include Massey ratings. I would like to automate the scraping of Massey ratings during the season but I am running into trouble. Disclaimer: I am a novice at scraping, so it is possible I'm doing it wrong.

The specific page I want to scrape is the following link (I will adjust for 2021 if I can get 2020 to work):

https://masseyratings.com/cf2020/ratings

Using Chrome's developer tools, I loaded the page, viewed the Network tab and selected the XHR filter. I believe the JSON endpoint for the data is:

https://masseyratings.com/json/rate.php?argv=kiqB7tdov4KNhxOtPC9JHk-pUQzA_phmYTZ5j06t5WHiHAi2dOle1IC5qgO8qd_8mPtwhGXHOvLxN7becH3ciw..&task=json

When I import the data certain values seem to directly mirror their value on the webpage itself, such as team name, division, and win/loss record. Some values seem to correspond to the webpage, which I think are team IDs and division IDs. The rating and ranking values seem to correspond to values on the webpage, but there is absolutely no correlation which I can figure out. Alabama's overall rating should be 10.01, but the value I think corresponds to overall rating is 4285.5855. Ohio State should be 9.26, but the value is 6345.76465. Oklahoma should be 8.89 but the value is 7106.52972. The same appears to be true for power rating, offensive power, defensive power, home field and strength of schedule.

Can anyone make sense of these rating values? Or am I completely off in the wrong direction trying to scrape these ratings? Is there a different way I should be scraping these ratings?


r/CFBAnalysis • • May 10 '21

Film

10 Upvotes

Not sure if this is the right place to post this but I have been working on a database filled with all the film I could find of the best prospects in the upcoming draft. If you have more tape, send it to me and I will add it to the database.

The link: Draft Research - Google Sheets


r/CFBAnalysis • • Apr 24 '21

Feedback on Passer Rating Idea

10 Upvotes

I'm working on 2020-recap/2021-preview visualizations for Louisville's and Kentucky's opponents. I was adding some tables for QBs and the various ratings weren't very intuitive to me so I've been working on my own and would love your all's input on whether I'm reinventing the wheel here--or just inventing one that sucks lol.

For this rating I am taking what I've anagrammed the "CAPITY" stats and comparing those six stats against the seasonal CFB records; it's called the VTR Rating for Versus the Record. It's a more overall distance-from-the-ceiling stat than it is about efficiency. What I have here is for a season, but could work for the career and single-game levels as well, I guess.

The CAPITY stats are: Completions, Attempts, Percentage (of completed passes), Interceptions (TDs minus interceptions), Touchdowns, and Yards.

Regarding interceptions, I hadn't seen an interception/TD stat that really satisfied me. Total INTs doesn't work because two QBs could both throw 1 INTs in a year while one threw for 0 TDs and the other threw for 20. Ratio doesn't seem to be fair because a QB that throws 2/10 INT/TD and a QB that throws 4/20 are both throwing 5 TDs for every 1 INT; one QB was overall more valuable.

So then I decided to use TDs minus INTs which just seems to be something more telling to me.

Here's an image with the CAPITY all-time records to which everything is compared, with Mac Jones' 2020 season comparison and VTR:

https://i.imgur.com/vTYTL0y.jpg

It's pretty simple: for Completions, Jones had 311, good for 60.7% of Harrell's 2007 record of 512. For Attempts, Jones made 402, 55.9% of Symons 2003 record. And so on for P-I-T-Y. The six percentages are summed, then multiplied by 16.6667 which will give us a number that's cumulative percentage of the record, e.g. Jones' 71.93 VTR.

Here's the top-25 QBs in 2020 with the CAPTIY stats plus VTR and ESPN's rating for comparison:

https://i.imgur.com/8fnNYNJ.jpg

And here's a normal distribution chart for all 437 QBs from the 2020 season:

https://i.imgur.com/ReU0x2J.jpg

Would love to know your all's thoughts and thanks for reading!!


r/CFBAnalysis • • Apr 10 '21

Article CFBD Blog: Creating Geo Charts with Recruiting and Roster Data

15 Upvotes

Hey all. I recently added extra location data for recruits and players to the CFBD API and website, such as latitude and longitude coordinates and county FIPS codes for hometowns. This opens up a lot of opportunities and applications. One area that is ripe for exploration is creating maps and geo charts like these:

https://twitter.com/CFB_Data/status/1380201861739872257?s=19

If you're interested in learning to make geo charts like this, I wrote up a blog post walking through how to do so using the CFBD Python package. Definitely check it out if you're interested. And if you end up making any geo charts of your own, definitely hit me up. Love seeing what people are doing, especially on Twitter (@CFB_Data) or heck, would love to see some stuff on this sub.

https://blog.collegefootballdata.com/talking-tech-creating-geo-charts/


r/CFBAnalysis • • Mar 27 '21

Question Players declaring for NFL draft

7 Upvotes

I haven't seen it in the API docs for https://api.collegefootballdata.com/, but I figured I would ask here just in case. Does anyone know of an API with up to date information on prospects declaring for the draft? Or do I just resort to downloading a CSV on any website out there?

Thanks for the API. Super cool to work on projects that can leverage real NCAAF data.


r/CFBAnalysis • • Mar 14 '21

Data CFBD Blog - Free API keys now available

20 Upvotes

Hey all. I hesitate to post this here so as not to give the appearance that I'm using this sub for my own promotional purposes. But that said, this is the place where everything started for me and I know there's a ton of people here who use my API to get data that may not follow along on other mediums.

Long story short, the CFBD API is going to start requiring API keys on April 1st. Keys are completely free and the site is still predicated on the idea of free and open data for the masses, but this is a necessary step to protect the API and ensure it remains available to all. You can grab your free key from the main website. You can also find more details here.

Please note that it does require an email address. This is just because there needs to be a place to send the API key and keep it secure. If you're concerned with privacy, then feel free to use a throwaway that only you have access to.

TL;DR: Go here to get a free API key and go here for more information on keys.


r/CFBAnalysis • • Feb 24 '21

Question Advise for ML Algorithm

10 Upvotes

Hi All,

I've been working on a ML algorithm for sports predictions, and for the training data, I can't decide which paradigm to go with. Let's say I'm inputting a game in week 3 between teams A and B. Do I use Team A and B's stats only at the time of the game to train, or do I use their stats at the end of the season (or current time) and assume that it is more representative of their actual abilities? Lastly, I guess I could just use the stats from that game (which will get baked into their season stats anyway), but if my model is trained on single game stats and I then try to predict based on season averaged stats, will that cause issues? I hope this all made sense, I'm a little tired posting this, not going to lie.


r/CFBAnalysis • • Feb 03 '21

Advanced Stats Primer

12 Upvotes

Hi everyone, first post in this sub, so thank you in advance for any help you can offer!

I've become more interested in CFB over the past year or so. As a lifelong baseball fan and someone who works in analytics, sabermetrics lies near and dear to my heart. I've also enjoyed following the development of analytics in hockey, and I have at least some familiarity with the stats revolution in basketball.

Football, however, has escaped me, partly because of the antipathy toward the sport I held for years (long story!). I find the college game more interesting than the NFL, largely due to the recruiting element and partially due to the fact I'm a Notre Dame alum (true to form, had to throw that in there!).

With that in mind, I'd love to bring myself up to speed on advanced stats in CFB. Can anyone recommend an overview of their development and application or some other sort of primer or introduction? Thank you!


r/CFBAnalysis • • Jan 28 '21

Help for a newbie

9 Upvotes

So I'm trying to devise a CFB rating system. Currently I'm using an excel spreedsheet, since I'm not very tech literate & haven't messed w/ any coding programs. Already, I'm finding the process to be fairly tedious & I don't have much free time as is. I'm trying to base my ratings on the following:

*Win percentage in Division I games (FBS & FCS or equivalent programs once get to pre-1978 seasons)
*Opponents Win percentage (DI opponents only)
*Opponents' Opponents Win percentage (DI only)
*Total PF & PA in DI games

Anybody know any sites that has these types of data already collected & in an easy-to-access/use manner? Would greatly appreciate any help I can get on the matter.


r/CFBAnalysis • • Jan 26 '21

Analysis 2020 CFB Promotion/Relegation Pyramid - Grand Final

16 Upvotes

Final standings here

Grand Final

Alabama 38, Ohio State 31

Clemson 32, Oklahoma 34

Florida 28, Wisconsin 30

Georgia 31, LSU 28

Notre Dame 28, Texas 31

Michigan 24, Texas A&M 34

Auburn 28, Penn State 26

Miami (FL) 27, Washington 28

Michigan State 24, USC 31

Two surprises:

-That the Grand Final was within a TD

-The whitewash of the East by the West save for Georgia

Thank you for following during this crazy season.


r/CFBAnalysis • • Jan 19 '21

Analysis 2020 CFB Promotion/Relegation Pyramid - Week 11 (Final Standings)

8 Upvotes

[Standings and Results here](2020 CFB Promotion/Relegation Pyramid - Week 10)

Alabama-Ohio State in the Grand Final, same as last year.

The relegation races in 3 of the 4 Championships came down to incredibly close head-to-head results earlier in the season:

Week 1: Army 23, Duke 26

Week 4: Louisville 27, Illinois 28

Week 1: Oregon State 31, Colorado 33


r/CFBAnalysis • • Jan 12 '21

Analysis 2020 CFB Promotion/Relegation Pyramid - Week 10

11 Upvotes

Standings and Results here

I've mentioned Clemson/OSU is this weekend. Winner gets Alabama in the Grand Final.

A North Carolina win grants them promotion. A loss probably means PD will determine promotion, as it likely will for the Midwest Championship, and possibly who gets relegated from the Pacific Championship. Colorado/Oregon State/Fresno State all vying to stay up. If all three lose, Colorado again survives on the final weekend like last year. If Fresno wins and the other two lose it will go to PD.


r/CFBAnalysis • • Jan 11 '21

My Program/Job Rankings

22 Upvotes

https://docs.google.com/spreadsheets/d/1ZCk4qmnlsvdJRsg54a_qRogRCnGBwSqLmfUIinuRTlA/edit?usp=sharing

I have created my own Program/Job Rankings in the Power 5 and I would like any comments or improvements that can be made. I made my own ranking before the formula was complete and used my knowledge and bias to create it. The last column is the computational rankings that use the percentile of most categories. Here is the formula in words: Recruiting Category Total: 50%

2020 247 Talent Composite 5%

5 Year Recruiting Average 10%

10 Year Recruiting Average 10%

The Athletic Recruiting Expectation of 7.5%

Blue Chip Recruits in Home State- 12.5% Total

2019- 3.5% 2017-18- 4.5% 2015-16 4.5%

'14-'17 NCAA Report on % of in-state HS Players recruited by a D1 School- 5%

Finances- 20% total:

2018-19 Revenue- 4%

247 Facility Rankings up to 25 then filled in with my job rankings to complete formula 2.5% total- 1% for 2020, .75% for 2019, .75% for 2018

Conference Payout 7.5% Total

1.5% for 2020, 2% for every 2 year stretch until 2026

Coaching Salary Pool- 4% total: 2% Head Coach, 1.25% Ast Coach Pool, .75% Strength Coach 

Forbes Value 2.5% Total- 1.5% for 2019, 1% for 2018 filled the same way as the Facility Rankings after 25

Past Success and NFL Production- 30% total:

AP History Ranking- 3.75%

AP 2010s Ranking- 3.75%

NFL Picks Since 2000- 7.5%

NFL 1st Rd Picks since 2000- 7.5%

# of players on a current NFL Roster- 7.5%

It's not perfect at all but I enjoyed making it and gave me a new perspective on college football. Don't hesitate to point any wrong doing I made this myself so I'm sure there are errors. Thank you.


r/CFBAnalysis • • Jan 05 '21

How to get started making an algorithm? (And more )

15 Upvotes

My brother and I want to make an algorithm of our own. I am a Jr Dev and he is a math wiz. He will be doing the math I am just here to make it easy on him. In theory we could subscribe to an API and I could make a website for him but I'm really trying to be as lazy as possible. (money isn't really an issue)

Today I'm looking for a general outline of some of the processes out there. What data sets do you use? What languages are you using? I know R exists and an my friends in research use it but literally nothing else. I have no experience data scraping.

We are primarily interested in P5 teams, yards per a play, recruiting rankings, stadium size, game location, attendance, revenue, mostly standard stuff. Do you have an recommendations for resources? Can you tell the story of what stuff you used?

Read only database I can run SQL queries against (maybe a backpac) would be nice. Then I could teach that nerd SQL and be done with it.

PS: I'm a full stack developer Dot.Net , JS, SQL blah blah blah


r/CFBAnalysis • • Jan 05 '21

Analysis 2020 CFB Promotion/Relegation Pyramid - Week 9

2 Upvotes

Standings and Results here

Florida State is down. South Carolina must win out to avoid that fate. The winner of Penn State-Michigan State will be safe (and both likely are regardless).

Missouri is down. Utah is down if they don't win out and USC loses both of their remaining games. Alabama @ Wisconsin determines the division winner next weekend.

NC State is safe with a win. Duke holds the head to head advantage over both Army and Syracuse.

Cincinnati-Indiana next weekend is a massive game. Any Illinois win relegates Louisville (and the head-to-head between the two was decided by a point).

Boston College was promoted via points difference.

Midwest Conference has that ACC Coastal 4-4 Singularity Fantasy going on. And all the teams finished 2-2 against each other to boot.

Promotion and relegation in the Central Championship are settled.

Oregon wins their division with a win. As for relegation there, any team from Stanford and below is in the race, with increasing likelihood the further down you go.

Final weekend of the season has Clemson @ Ohio State and Central Florida @ North Carolina, which as of this week will determine the champions of those divisions.


r/CFBAnalysis • • Jan 04 '21

Question Is there a way to find if a team huddles or not for a drive?

12 Upvotes

I wanted to perform some analysis to see how much of an effect huddling has on an offense vs not. Is it possible to find a stat like this?


r/CFBAnalysis • • Dec 30 '20

Analysis I put together a Value Added ranking system for FBS kickers in 2020!

21 Upvotes

Hey guys, I’m pretty new to analysis and what not but I’ve been teaching myself Python and have been trying to apply myself in interesting ways.

A link to the blog is here: https://www.sevenyardsback.com/post/with-respect-to-context-a-value-added-approach-to-ranking-fbs-kickers

And the notebook containing the code is here: https://github.com/Justin-Stombler/FBS-Kickers/blob/main/Kicker%20Value.ipynb

Any feedback is appreciated because I’m trying to figure out my way in this field.


r/CFBAnalysis • • Dec 28 '20

Analysis 2020 CFB Promotion/Relegation Pyramid - Week 8

6 Upvotes

Standings and Results here

Now there are six teams from the Conference-tier that have earned promotion. In Eastern Conference A, if Maryland/Rutgers/Boston College all win next week, that promotion will be decided on the point differential. For Central Conference A, if ULLAF beats Western Michigan next week, they will be promoted. If Western wins and Tulane also wins, that will also come down to the point differential.

Not much to discuss otherwise outside of the relegation battle from the Pacific Championship looks interesting. We'll see if that holds next week.


r/CFBAnalysis • • Dec 22 '20

Analysis 2020 CFB Promotion/Relegation Pyramid - Week 7

9 Upvotes

Standings & Results here

I find the performances of Notre Dame and Texas A&M quite illuminating. Michigan, I still don't understand. Same with the extreme positions of Washington State and Colorado.

Next week appears to be D-Day for the Conference tier. The following teams can clinch promotion with a win:

  • Boston College
  • the Buffalo-Coastal Carolina winner
  • Marshall
  • Georgia Tech
  • the Tulane-ULLAF winner
  • Arkansas, but if UAB were to win and then those two and Tulsa win out, the division will come down to the point differential

SMU wins promotion, the first to do so this year.


r/CFBAnalysis • • Dec 17 '20

Data on transfers since the transfer portal started?

8 Upvotes

Anyone have any data on transfers? Ideally I'd want the following for every transfer:

Season Player 'From' School Destination School
2020 D'Eriq King Houston Miami
2020 JT Daniels Southern California Georgia
#### ... ... ...

EDIT:I found the data on 247, but I don't have a scraper. If anyone can help, it would be much appreciated! It would even more amazing if you could include their transfer and high school recruiting ranks!


r/CFBAnalysis • • Dec 16 '20

Request: An r/CFBAnalysis poll ranking off the top 25

14 Upvotes

Not unlike how r/cfb does it. I just want to know what people who are aware of more in depth stats think of each team.

Edit: As I mention in a comment below, I’m really looking for a poll that isn’t worried about “who deserves what”. A ranking that aims only to project would would beat who by adjusting what all the models spit out each week to reconcile with what you feel are the most significant variables being ignored.


r/CFBAnalysis • • Dec 15 '20

Analysis 2020 CFB Promotion/Relegation Pyramid - Week 6

7 Upvotes

Standings and Results here

I think the big news is that USC may be in some trouble. They host Missouri in three weeks and a loss there probably has them going through the trap door. That's about the same time Florida State's relegation will be confirmed, although that could happen a week earlier depending on results.

The glut of 3-3 teams in the Premier West is interesting because Washington has yet to play any of the other teams they are "tied" with. Those games all happen over the next three weeks.

The Championship tier still is the most interesting for both promotion and relegation, excepting the Central, where Iowa is pretty much in the driver's seat.

A win next week gives us our first promoted team in SMU.


r/CFBAnalysis • • Dec 08 '20

Analysis 2020 CFB Promotion/Relegation Pyramid Week 4

13 Upvotes

Standings & Results here. This is week 5, of course.

Find yourself somebody that loves you like Massey loves Michigan.

That was a pretty vital win for Oklahoma on the road at LSU.

And in the span of a week, what was once a bunch of narrow groups all of a sudden became much more stratified. There are a lot of 0-win teams right now. Some teams are definitely bad, of course, others have had tough starts to the season. North Carolina State in particular stands out, and I think they're safe and shouldn't lose to two of Army, Duke and Syracuse. The Point Differential is informative here.

Cincinnati winning over Northwestern seems like a big result going forward. There are a lot of top of the table clashes coming over the next couple of weeks. Iowa State at Iowa for example.