Learn R Programming

bizdays (version 1.0.16)

load_builtin_calendars: Load builtin calendars

Description

bizdays comes with builtins calendars:

Usage

load_builtin_calendars()

Arguments

Value

Has no return

Details

- actual - weekends - Brazil/ANBIMA - Brazil/B3

This function creates and registers these calendars. Once the calendars are loaded they can be used directly by their names.

This function is called in package `.onAttach`, so it is not necessary to call it directly. It is for internal use, package development or in situations where the user wants to call bizdays functions without attach the package.

Examples

Run this code
bizdays::load_builtin_calendars()
bizdays::calendars()
bizdays::is.bizday("2020-01-01", "Brazil/ANBIMA")

Run the code above in your browser using DataLab