load_mls_player_box | R Documentation |
helper that loads multiple seasons from the data repo either into memory or writes it into a db using some forwarded arguments in the dots
load_mls_player_box( seasons = most_recent_mls_season(), ..., dbConnection = NULL, tablename = NULL )
seasons |
A vector of 4-digit years associated with given MLS seasons. (Min: 2002) |
... |
Additional arguments passed to an underlying function that writes
the season data into a database (used by |
dbConnection |
A |
tablename |
The name of the player box data table within the database |
Returns a tibble
try(load_mls_player_box(2021))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.