y_player_slate | R Documentation |
Every game or league has a slate of players eligible to be on a team. This function gets them for you.
y_player_slate(key = NULL, token_name = NULL, debug = FALSE, quiet = TRUE)
key |
Game key or league key as a string in the form "000.l.0000". These ids can be found with 'y_games()' and 'y_teams()'. |
token_name |
Name used for assignment when creating token object with 'y_create_token()'. |
debug |
Print uri and page counts to console as functions runs. Useful for debugging. |
quiet |
Print function activity. |
This function is not intended to get a subset of players, i.e. top 100 players. Use 'y_players()' for that case.
Note: this function uses janitor::make_clean_names and as a result is a bit slow.
A tibble
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.