chained_calendar | R Documentation |
Allows to combine two calendars, one before and one after a given date.
chained_calendar(calendar1, calendar2, break_date)
calendar1 , calendar2 |
calendars to chain. |
break_date |
the break date in the format |
A chained calendar is an useful option when major changes in the composition of the holidays take place. In such a case two calendars describing the situation before and after the change of regime can be defined and bound together, one before the break and one after the break.
returns an object of class c("JD3_CHAINEDCALENDAR","JD3_CALENDARDEFINITION")
More information on calendar correction in JDemetra+ online documentation: https://jdemetra-new-documentation.netlify.app/a-calendar-correction
national_calendar
, weighted_calendar
Belgium <- national_calendar(list(special_day("NEWYEAR"), fixed_day(7, 21)))
France <- national_calendar(list(special_day("NEWYEAR"), fixed_day(7, 14)))
chained_cal <- chained_calendar(France, Belgium, "2000-01-01")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.