CalendarDateMode {MacrobondAPI} | R Documentation |
A list of enum values that determines how to treat start and end dates when downloading a set of timeseries
The list contains named objects of type CalendarDateModeClass
.
The calendar date mode is specified when making a unified series request and is used for the stat and end dates properties of SeriesRequest
.
Use the first or last time period where there is valid data in any series.
Use the first or last time period where there is valid data in all series.
SeriesRequest
setEndDateMode
,
getEndDateMode
,
setStartDateMode
,
getStartDateMode
,
getStartDateMode
,
seriesRequest <- CreateUnifiedTimeSeriesRequest() setStartDateMode(seriesRequest, CalendarDateMode[["DataInAllSeries"]]) # Set the start to the first point where data is available in all series addSeries(seriesRequest, "usgdp") addSeries(seriesRequest, "uscpi") twoSeries <- FetchTimeSeries(seriesRequest)