CalendarMergeMode {MacrobondAPI}R Documentation

Calendar merge mode enum values

Description

A list of named values that determines how calendars should be merged when downloading a set of timeseries.

Format

The list contains named objects of type CalendarMergeModeClass.

Details

The calendar merge mode is specified when making a unified series request and is a property of SeriesRequest.

FullCalendar

Use all the time periods as specified by the frequency and weekdays.

AvailableInAll

Use the time periods that are available in all series.

AvailableInAny

Use the time periods that are available in any series.

See Also

SeriesRequest, setCalendarMergeMode, getCalendarMergeMode

Examples

seriesRequest <- CreateUnifiedTimeSeriesRequest()
setCalendarMergeMode(seriesRequest, CalendarMergeMode[["FullCalendar"]])	# All holidays will always be included as missing values instead of being skipped in the calendar.
addSeries(seriesRequest, "eur")
eur <- FetchTimeSeries(seriesRequest)

[Package MacrobondAPI version 1.1-5 Index]