Publications by Isaac Petersen
Downloading CBS Fantasy Football Projections in R
In this post, I will show how to download CBS fantasy football projections using R. The R Script The R Script for downloading fantasy football projections from CBS is located at: https://github.com/dadrivr/FantasyFootballAnalyticsR/blob/master/R%20Scripts/CBS%20Projections.R Here are lines of code to download the CBS projections from CBSsports....
1051 sym Python (1041 sym/2 pcs) 2 img
Calculate Fantasy Players’ Risk Levels using R
In prior posts, I have demonstrated how to download, calculate, and compare fantasy football projections from ESPN, CBS, and NFL.com. In this post, I will demonstrate how to calculate fantasy football players’ risk levels. Just like when determining the optimal financial portfolio, risk is important to consider when determining the optimal fa...
5903 sym R (457 sym/3 pcs) 4 img
Win Your Fantasy Football Auction Draft: Calculate the Optimal Players to Draft with this Shiny App in R
In this post, I use a Shiny app in R to determine the best possible players to pick in a fantasy football auction draft. The app takes projections from FantasyPros, a site that averages across numerous sources of projections. Based on your league settings, it determines which players you should draft to maximize your starting lineup’s proje...
5060 sym
Update to Fantasy Football Draft Optimizer shiny app
By popular demand, I updated the Fantasy Football Draft Optimizer shiny app with two changes: The app now takes into account how many teams are in your league when estimating players’ projected costs. I uploaded the new projections from FantasyPros. The projections are now up to date for those about to have their league drafts. You can find...
1172 sym
Why R is Better Than Excel for Fantasy Football (and most other) Data Analysis
Many articles have been written on why R is better than Excel for data analysis. In this post, I will summarize the reasons why R is advantageous in most data analysis circumstances, with a focus on fantasy football analysis. Although this post focuses on the benefits of using R for fantasy football analysis, the benefits of R extend to many ...
10860 sym R (38 sym/1 pcs)
Which Site Has the Best Fantasy Football Projections? 2014 Update
In prior posts, I demonstrated how to download, calculate, and compare fantasy football projections from ESPN, CBS, NFL.com, and FantasyPros, which aggregates projections from many different sources to increase prediction accuracy. Last year, I compared fantasy projections from ESPN, CBS, NFL.com, and FantasyPros, including our average ...
4767 sym 6 img 1 tbl
How Can I Learn R?
Many visitors of the site have expressed interest in learning R, so I’ve put together a list of beginning resources for learning R: Use this intro to R: http://www.statmethods.net/ Check out these resources for getting started with R: http://www.ats.ucla.edu/stat/r/ Watch these videos from Coursera: http://blog.revolutionanalytics.com/2012/...
989 sym
Custom Fantasy Football Rankings and Projections for Your League: A Shiny App in R
This post describes a Shiny app that calculates custom fantasy football rankings and projections for your league. The app allows you to modify your league settings, and calculates robust averages (Hodges–Lehmann estimator) of projections across sources. The players are ranked by their “value over replacement”. For more info on how the...
1103 sym
Identify Sleepers in Fantasy Football using Statistics and Wisdom of the Crowd
In this post, I demonstrate how to statistically identify sleepers in fantasy football using the wisdom of the crowd. The R Scripts The R Script for the “Wisdom of the Crowd” section is at: https://github.com/dadrivr/FantasyFootballAnalyticsR/blob/master/R%20Scripts/Calculations/Wisdom%20of%20the%20Crowd.R The R Script for the “Experts” s...
5736 sym 4 img
Scraping Fantasy Football Projections from the Web
In this post, I show how to download fantasy football projections from the web using R. In prior posts, I showed how to scrape projections from ESPN, CBS, NFL.com, and FantasyPros. In this post, I compile the R scripts for scraping projections from these sites, in addition to the following sites: Accuscore, FantasySharks, FFtoday, FOX Sports...
2348 sym R (519 sym/1 pcs) 2 img