TimeSeriesFrequency {MacrobondAPI}R Documentation

Time series frequency enum values

Description

A list of enum values for possible time series frequencies

Format

The list contains named objects of type TimeSeriesFrequencyClass.

Details

The time series frequency is property of the TimeSeries objecs and is also specified in SeriesRequest when making a unified series request.

Annual

Once a year

SemiAnnual

Twice a year

QuadMonthly

Once in 4 months

Quarterly

Once in 3 months

BiMonthly

Every second month

Monthly

Once a month

Weekly

Once a week

Daily

Once a day

Lowest

When specified in a series request, this corresponds to the lowest frequency of the series in set

Highest

When specified in a series request, this corresponds to the highest frequency of the series in the request

See Also

TimeSeries SeriesRequest setFrequency, getFrequency, CreateTimeSeriesObject, CreateTimeSeriesObjectWithForecastFlags

Examples

seriesRequest <- CreateUnifiedTimeSeriesRequest()
setFrequency(seriesRequest, TimeSeriesFrequency[["Monthly"]])	# You can also use setFrequency(seriesRequest, "Monthly")
addSeries(seriesRequest, "usgdp")
addSeries(seriesRequest, "uscpi")
twoSeries <- FetchTimeSeries(seriesRequest)

[Package MacrobondAPI version 1.1-5 Index]