ffanalytics: Scraping and calculating data to use for fantasy football...

Description Scrape functions

Description

The ffanalytics package provides three categories of important functions: scrape, calculation and analysis.

Scrape functions

The scrape flow works like this:

  1. User initiates the script and specifies the data period that needs to be scraped

  2. The scripts displays available analysts to scrape and the user selects which to use

  3. The script then displays available positions and asks the user to select positions to scrape.

  4. Data scrape is executed and returns a list with a data table for each position

User can next specify which aggregate method to apply and execute the calculation scripts on this list to get a data table with projected points, confidence intervals, rankings, risk etc.

Tiers are calculated using effect size thresholds based on Cohen's d. D value thresholds for determining tiers for each position can be set by: tierDValues <- c(QB = 0.25, RB = 0.4, WR = 0.4, TE = 0.35, K = 0.15, DST = 0.1, DL = 0.3, DB = 0.13, LB = 0.3)


dadrivr/ffanalytics documentation built on May 14, 2019, 3:12 p.m.