getMFLValues: ADP and auction value data from MyFantasyLeague.com

Description Usage Arguments Value

Description

Retrieve ADP and auction value data from MyFantasyLeague.com

Usage

1
2
getMFLValues(season = as.POSIXlt(Sys.Date())$year + 1900, type = "adp",
  teams = -1, ppr = -1, mock = -1, keeper = -1)

Arguments

season

Year the data is retrieved for

type

One of "adp" or "aav" to indicate whether ADP or auction values should be retrieved.

teams

Number of teams. If specified only drafts with that number of teams will be include

ppr

Specify if only ppr or non-ppr drafts should be considered. Set to 1 if only ppr drafts should be used, 0 if only standard drafts should be used. If not specified all types of draft will be used.

mock

Specify if only mock or real drafts should be used. Set to 1 if only mock drafts should be used, 0 if only real drafts should be used. If not speficied all types of drafts will be used.

keeper

Specify to select what types of leagues should be used. Set to 0 to use redraft leagues only; 1 to only use keeper leagues, 2 for rookie drafts, and 3 for MFL Public Leagues. If not speficied all types of drafts will be used.

Value

data.table wih up to 5 columns:

mflId

Player ID from MFL Merge with results from getPlayerData to get player names

selectedIn

Number of drafts player has been selected in

aav

Average auction value

adp

ADP

minPick

Earliest pick

maxPick

Latest pick


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