TimeSeriesWeekdays {MacrobondAPI}R Documentation

Time series weekday patterns

Description

A named list of commonly used weekday patterns for daily time series

Format

The list contains named objects of type TimeSeriesWeekdaysClass.

Details

The time series frequency is property of the TimeSeries objecs and is also specified in SeriesRequest when making a unified series request. The values are bit flags of the values for Sunday-Saturday.

Sunday

Sunday

Monday

Monday

Tuesday

Tuesday

Wednesday

Wednesday

Thursday

Thursday

Friday

Friday

Saturday

Saturday

FullWeek

Sun+Mon+Tue+Wed+Thu+Fri+Sat

MondayToFriday

Mon+Tue+Wed+Thu+Fri

SaturdayToThursday

Sun+Mon+Tue+Wed+Thu+Sat

SaturdayToWednesday

Sun+Mon+Tue+Wed+Sat

SundayToThursday

Sun+Mon+Tue+Wed+Thu

MondayToThursdayAndSaturday

Sun+Mon+Tue+Wed+Thu+Sat

See Also

TimeSeriesWeekdaysClass, setWeekdays, getWeekdays, TimeSeries, SeriesRequest

Examples

seriesRequest <- CreateUnifiedTimeSeriesRequest()
setWeekdays(seriesRequest, TimeSeriesWeekdays[["FullWeek"]])
addSeries(seriesRequest, "eur")
seriesEur <- FetchTimeSeries(seriesRequest)

[Package MacrobondAPI version 1.1-5 Index]