mfl_draft | R Documentation |
This function scrapes ADP or AAV data from MyFantasyLeague. More details on the API available at https://api.myfantasyleague.com/2023/api_info?STATE=details
mfl_draft(
metric = c("adp", "aav"),
period = c("RECENT", "ALL", "DRAFT", "JUNE", "JULY", "AUG1", "AUG15", "START", "MID",
"PLAYOFF"),
format = c("All Leagues", "PPR", "Std"),
nteams = c(12, 8, 10, 14, 16),
is_keeper = c("No", "Keeper", "Rookie Only"),
is_mock = c("No", "Mock", "All Leagues"),
cutoff = 10
)
metric |
Indicated whether to pull ADP (default) or AAV |
period |
Includes metric for drafts following this time-period |
format |
Scoring system for receptions |
nteams |
Number of teams in the league |
is_keeper |
Whether or not the league is a keeper league and/or a rookie draft |
is_mock |
Whether or not it is a mock draft |
cutoff |
Includes players in at least __% of drafts. Default to 10% of drafts. |
A data.frame with the results.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.