y_matchups | R Documentation |
Returns match-up stats and results for a given teams and weeks. Option to provide a week agrument which will return data for that week. Default NULL will return all past and current weeks of season. Vector of weeks also accepted.
y_matchups( team_key = NULL, token_name = NULL, week = NULL, debug = FALSE, quiet = TRUE )
team_key |
A string in the form "000.l.0000.t.00". Team key can be found with 'y_teams()'. |
token_name |
Name used for assignment when creating token object with 'y_create_token()'. |
week |
Week of fantasy season to return. Default NULL will return all past and current weeks of season. |
debug |
Returns a list of data such as uri call and content. Useful for debugging. |
quiet |
Print function activity. |
Only past or current match-ups will be returned.
A tibble
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.