Helper for min and max season functions. The code is the same expect the call to the min or max function so to avoid duplication the functions min or max are passed to the f_season function.
1 | f_season(season_ids, remove_na, f)
|
season_ids |
season_id in one of two formats, either a single 4 digit number representing the year or a character string in the format 1999_2000 to represent seasons which extend over successive years, typical in European football. |
remove_na |
should NAs be ignored, default TRUE |
f |
the function to use on the season_ids, min or max |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.