TimeSeriesFrequency {MacrobondAPI} | R Documentation |
A list of enum values for possible time series frequencies
The list contains named objects of type TimeSeriesFrequencyClass
.
The time series frequency is property of the TimeSeries
objecs and is also specified in SeriesRequest
when making a unified series request.
Once a year
Twice a year
Once in 4 months
Once in 3 months
Every second month
Once a month
Once a week
Once a day
When specified in a series request, this corresponds to the lowest frequency of the series in set
When specified in a series request, this corresponds to the highest frequency of the series in the request
TimeSeries
SeriesRequest
setFrequency
,
getFrequency
,
CreateTimeSeriesObject
,
CreateTimeSeriesObjectWithForecastFlags
seriesRequest <- CreateUnifiedTimeSeriesRequest() setFrequency(seriesRequest, TimeSeriesFrequency[["Monthly"]]) # You can also use setFrequency(seriesRequest, "Monthly") addSeries(seriesRequest, "usgdp") addSeries(seriesRequest, "uscpi") twoSeries <- FetchTimeSeries(seriesRequest)