Learn R Programming

telraamStats (version 1.1.2)

set_global_vars: Function to set up the global variables for public holidays and vacations, with the default being the french dates from a governmental API.

Description

Function to set up the global variables for public holidays and vacations, with the default being the french dates from a governmental API.

Usage

set_global_vars(vacations = NULL, public_holidays = NULL)

Value

Don't return anything, set up the global variables for public holidays and vacations.

Arguments

vacations

data frame containing the vacation dates

public_holidays

data frame containing the public holidays dates

Examples

Run this code
pkg.globals <- new.env(parent = emptyenv())
set_global_vars()
print(pkg.globals$vacations)

Run the code above in your browser using DataLab