The Fantasy Football Tool to Send to Your League
As my league's fantasy football draft rolled around last year, I discovered we were all utilizing the same tools, websites, blogs, and analysis. I wondered how to get the edge against those in my league. Like the Grinch, I then I got an idea! An awful idea! I got a wonderful, awful idea! Build a website that compares players, but…. the player's statistics are wrong.
​
I turned to R and built an R Shiny app. Using nflfastR, I imported data for the 2220, 2221, and 2222 NFL seasons. I randomly assigned players into two groups, positive and negative. Next, I created a column with random values between 0% and 10% (averaging 3%). Yardage statistics from each game were increased for positive players and decreased for negative players by the random column amount. The app seeded the random numbers. When a user checks the website, the incorrect values will be the same.
​
Link to website - https://cocomerry.shinyapps.io/ff_compare/
Link to GitHub - https://github.com/ccmerry/wrong_ff