Description Usage Arguments Value
Retrieve ADP and auction value data from MyFantasyLeague.com
1 2 | getMFLValues(season = as.POSIXlt(Sys.Date())$year + 1900, type = "adp",
teams = -1, ppr = -1, mock = -1, keeper = -1)
|
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. |
data.table wih up to 5 columns:
Player ID from MFL Merge with results from getPlayerData to get player names
Number of drafts player has been selected in
Average auction value
ADP
Earliest pick
Latest pick
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.