y_team_stats | R Documentation |
Returns team or league stats depending on what type of key is provided as an argument to key.
y_team_stats( key = NULL, token_name = NULL, week = NULL, debug = FALSE, quiet = TRUE )
key |
League key or team key as a string in the form "000.l.0000" or "000.l.0000.t.0". |
token_name |
Name used for assignment when creating token object with 'y_create_token()'. |
week |
Week of fantasy season to return. -Accepts 3 arguments: - 'current' returns current week of season. - An integer corresponding to a week of season. - If NULL will return aggregated season stats. |
debug |
returns a list of data such as uri call and content. Useful for debugging. |
quiet |
Print function activity. |
A tibble
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.