set_global_vars | R Documentation |
Function to set up the global variables for public holidays and vacations, with the default being the french dates from a governmental API.
set_global_vars(vacations = NULL, public_holidays = NULL)
vacations |
data frame containing the vacation dates |
public_holidays |
data frame containing the public holidays dates |
Don't return anything, set up the global variables for public holidays and vacations.
pkg.globals <- new.env(parent = emptyenv())
set_global_vars()
print(pkg.globals$vacations)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.