most_recent_season | R Documentation |
A helper function to choose the most recent season available for a given dataset
most_recent_season(roster = FALSE)
get_latest_season(roster = FALSE)
get_current_season(roster = FALSE)
roster |
a TRUE/FALSE flag: if TRUE, returns the current year if March 15th or later. if FALSE, returns the current year if September 1st or later. Otherwise returns current year minus 1. |
most recent season (a four digit numeric)
Other Date utils:
get_current_week()
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.