set_global_vars: Function to set up the global variables for public holidays...

View source: R/utils_global.R

set_global_varsR 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)

telraamStats documentation built on May 29, 2024, 10:08 a.m.