y_draft_results | R Documentation |
This function returns the draft results for a league or team key. Function accepts a vector of keys however they cannot be mixed. If a mixed type of key is provided the function will select the majority key type and query the uri using those keys.
y_draft_results(key = NULL, token_name = NULL, debug = FALSE, quiet = TRUE)
key |
A vector of league or team keys as strings in the form "000.l.0000" or "000.l.0000.t.0". Keys can be found with 'y_games()' and 'y_teams()'. |
token_name |
Assigned object name used when creating token with 'y_create_token()'. |
debug |
Returns a list of data such as uri call and content. Useful for debugging. |
quiet |
Print function activity. |
Oddly the only reference to the players this resource returns are the player keys and player ids so this function is best used in tandem with ‘y_players()' or having a local copy of a league’s player slate for joining player names.
A tibble
# Not run # y_draft_results("411.l.1239", my_token)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.