defaultYear | R Documentation |
Get and set the default year when retrieving event data
defaultYear(year = NULL)
year |
An integer or a 4-digit character string specifying the year of the FRC events you are looking for. If NULL or not supplied, the current calendar year will be made the default year. |
A 4-digit character string giving the year.
The get...Event...
functions use this, as the event key is a combination of the year and event location code.
## Not run: defaultYear(2003) getEvents()$city defaultYear() # reset to current year ## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.