set_global_vars {telraamStats}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.

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)

Arguments

vacations

data frame containing the vacation dates

public_holidays

data frame containing the public holidays dates

Value

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

Examples

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

[Package telraamStats version 1.1.2 Index]