Einstein Posted December 28, 2024 Posted December 28, 2024 (edited) Site is now active. https://einsteinfootball.com (just registered the domain so not sure if its propagated in all areas yet) or http://34.205.139.226/index.html (this is direct to the server so it definitely works) The site does NOT work on mobile. There is simply too many tools and features that dont work well on small devices. Access it from a desktop or laptop. --------------------- I am making available to everyone my free Bills statistical application that I built and use throughout the season. The backend is coded in R and runs on a plumber server with a CMD prompt server for the front end. For everyone else who wants an easier way, I bought a domain to host it on. I will have it loaded fairly soon. In the meantime, this is how it works: 1) Play Finder This is my favorite feature. You can: Load all plays Load only run plays Load only pass plays Load plays that feature a certain player (example: plays only involving Keion Coleman) Load plays that are more than X yards (example: plays that are more than 10 yards in length) Load plays that are less than X yards (example: players that are less than 10 yards in length) Load plays between X and Y yards (example: plays between 8 and 35 yards in length) Then, once those plays are loaded, you can filter them even further. The "additional filters" section allows you to drill down into exact situations. For example: You can load all plays for a specific game and drive within that game (Game 3, Drive 4). You can pull the stats for run plays depending on which run gap they exploited. You can filter plays by air-yards. You can filter plays to see how the team plays in various temperatures and wind and field types. For example, run plays in 52 degree temperatures and on astroturf. You can examine Allen's stats when he gets hit. Or break down offensive performance when in Shotgun vs when Allen drops back. Filter to plays between X and Y epa. A lot more... Not only that, but it will also show the stats for that particular filter/search. For example, if you search for Josh Allen passes in the 4th quarter, and only on plays when he gets hit - you will not only see all those plays listed in the table, but the stats widget will also show you the fully tabulated stats for when Allen gets hit in the 4th quarter (yards, INT’s, TD’s, etc). 2) QB to WR connection data Pretty simple. You can select any player who has caught a pass from Josh Allen this season and it will show you Allen's stats when throwing to that receiver. This gives insight into what player is most beneficial for Allen. Unsurprisingly, Shakir has the (far and away) best connection with Allen on an output basis. Know whose second? You may never guess. It's Ray Davis. He has caught 14 of his 15 targets and has 2 TD's on those 15 targets. Valdez-Scantling is on the opposite end of the spectrum. And dont even get me started on what this tool has shown for Gabe Davis over the past few years. 3) Bills AI Chat You can chat with a Bills artificial intelligence and ask historical questions. I'm making a few tweaks to this, as it tends to decide its own tiebreaker when the answers are close. For example, if the GIF below, the answer really should be AJ Klein with 5. But it awarded the honor to Hughes with 4.5 in some sort of small-differential tie-breaker scenario. 4) Lots of Charts You can generate a lot of different charts. Some examples: Where the Bills rank against other terms in EPA (offense/defense). Quarterback EPA per play across the NFL Win to INT plots Win to QB rating plots Plotting of teams against each per division A lot more This one requires patience. These are not pre-generated charts. When you click one, it generates in real-time, pulling NFL data, doing the calculations and creating the chart. A chart can take up to 3 seconds to load. 5) Suggestions/Requests Its going to take a few days to get everything onto a hosted server. I need to change lots of little bits of code that run on my local computer to running on a host. In the meantime, if you have any suggestions or requests to make it better, drop them in a reply. I would like to add vector information (speed/direction) but have not found an API to pull this data. Next Gen stats doesn't seem to have an API. Edited Saturday at 09:38 PM by Einstein 7 22 5 Quote
Rew Posted December 28, 2024 Posted December 28, 2024 Total tease. You can't post something like this before you have the hosting/links live! Looks awesome though, can't wait. What are your data sources? I wasn't aware of some of this data being publicly available. 1 1 Quote
Einstein Posted December 28, 2024 Author Posted December 28, 2024 Just now, Rew said: Total tease. You can't post something like this before you have the hosting/links live! Haha I totally get that. I mainly wanted to ask for suggestions for any additional features before I get it all transferred. Just now, Rew said: Looks awesome though, can't wait. What are your data sources? I wasn't aware of some of this data being publicly available. There is an NFL repository for data called NFLverse. Here check it out! https://github.com/nflverse/nflverse-pbp ESPN also used to have an API. They pulled it though. 1 2 Quote
Einstein Posted December 28, 2024 Author Posted December 28, 2024 2 minutes ago, HOUSE said: Did you say free? And all complaints go to Simon! 2 Quote
Big Turk Posted December 28, 2024 Posted December 28, 2024 (edited) Very cool! As a software engineer I have dabbled with R in a few projects but never have really used it for anything at work. Edited December 28, 2024 by Big Turk 1 Quote
WotAGuy Posted December 28, 2024 Posted December 28, 2024 Kinda weird to have to use my SSN as my login and Mom’s maiden name as password, but I guess you know what you’re doing. 1 10 1 Quote
US Egg Posted December 28, 2024 Posted December 28, 2024 Wow! You don’t call yourself Einstein for nothing. 1 Quote
Freddie's Dead Posted December 28, 2024 Posted December 28, 2024 Is there data on coach challenges? 1 Quote
eball Posted December 28, 2024 Posted December 28, 2024 This sounds pretty effing cool. Thanks man; can’t wait to check it out. Quote
Sierra Foothills Posted December 28, 2024 Posted December 28, 2024 10 hours ago, Einstein said: I am making available to everyone my free Bills statistical application that I built and use throughout the season. The backend is coded in R and runs on a plumber server with a CMD prompt server for the front end. For everyone else who wants an easier way, I bought a domain to host it on. I will have it loaded fairly soon. In the meantime, this is how it works: 1) Play Finder This is my favorite feature. You can: Load all plays Load only run plays Load only pass plays Load plays that feature a certain player (example: plays only involving Keion Coleman) Load plays that are more than X yards (example: plays that are more than 10 yards in length) Load plays that are less than X yards (example: players that are less than 10 yards in length) Load plays between X and Y yards (example: plays between 8 and 35 yards in length) Then, once those plays are loaded, you can filter them even further. The "additional filters" section allows you to drill down into exact situations. For example: You can load all plays for a specific game and drive within that game (Game 3, Drive 4). You can pull the stats for run plays depending on which run gap they exploited. You can filter plays by air-yards. You can filter plays to see how the team plays in various temperatures and wind and field types. For example, run plays in 52 degree temperatures and on astroturf. You can examine Allen's stats when he gets hit. Or break down offensive performance when in Shotgun vs when Allen drops back. Filter to plays between X and Y epa. A lot more... Not only that, but it will also show the stats for that particular filter/search. For example, if you search for Josh Allen passes in the 4th quarter, and only on plays when he gets hit - you will not only see all those plays listed in the table, but the stats widget will also show you the fully tabulated stats for when Allen gets hit in the 4th quarter (yards, INT’s, TD’s, etc). 2) QB to WR connection data Pretty simple. You can select any player who has caught a pass from Josh Allen this season and it will show you Allen's stats when throwing to that receiver. This gives insight into what player is most beneficial for Allen. Unsurprisingly, Shakir has the (far and away) best connection with Allen on an output basis. Know whose second? You may never guess. It's Ray Davis. He has caught 14 of his 15 targets and has 2 TD's on those 15 targets. Valdez-Scantling is on the opposite end of the spectrum. And dont even get me started on what this tool has shown for Gabe Davis over the past few years. 3) Bills AI Chat You can chat with a Bills artificial intelligence and ask historical questions. I'm making a few tweaks to this, as it tends to decide its own tiebreaker when the answers are close. For example, if the GIF below, the answer really should be AJ Klein with 5. But it awarded the honor to Hughes with 4.5 in some sort of small-differential tie-breaker scenario. 4) Lots of Charts You can generate a lot of different charts. Some examples: Where the Bills rank against other terms in EPA (offense/defense). Quarterback EPA per play across the NFL Win to INT plots Win to QB rating plots Plotting of teams against each per division A lot more This one requires patience. These are not pre-generated charts. When you click one, it generates in real-time, pulling NFL data, doing the calculations and creating the chart. A chart can take up to 3 seconds to load. 5) Suggestions/Requests Its going to take a few days to get everything onto a hosted server. I need to change lots of little bits of code that run on my local computer to running on a host. In the meantime, if you have any suggestions or requests to make it better, drop them in a reply. I would like to add vector information (speed/direction) but have not found an API to pull this data. Next Gen stats doesn't seem to have an API. Wow. I don't really know what to say... thank you and I'm very impressed with your work. 👍 1 Quote
CSBill Posted December 28, 2024 Posted December 28, 2024 Wow! This may be bigger than your theory of relativity. Impressive. 6 Quote
SoCal Deek Posted December 28, 2024 Posted December 28, 2024 Can it predict the future? I’m dying to know how this season turns out. It’ll save me from my annual emotional meltdown. 😉 2 2 Quote
notpolian Posted December 28, 2024 Posted December 28, 2024 Looks very cool. Let us know when you get it hosted. Thanks! Quote
Charles Romes Posted December 28, 2024 Posted December 28, 2024 I’d roll out a simplified version available as an option. Seems like feature overload and too much of a time investment Quote
HardyBoy Posted December 28, 2024 Posted December 28, 2024 Are you using shinyR for the interface? Also, really freaking cool!! Quote
716 Posted December 28, 2024 Posted December 28, 2024 Username checks out. This awesome, can't wait for it drop! 1 Quote
Einstein Posted December 28, 2024 Author Posted December 28, 2024 20 minutes ago, HardyBoy said: Are you using shinyR for the interface? Also, really freaking cool!! Nope. Shiny is great but a bit less flexible. I prefer to have a seperate front-end that I can customize to my hearts content with javascript and HTML. 31 minutes ago, Charles Romes said: I’d roll out a simplified version available as an option. Seems like feature overload and too much of a time investment I can add a “simplify” button that will change the page (remove features). But what are you thinking as far as simplified options? 1 Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.