Closed felicitaskemeny closed 4 years ago
The problem arises form an interaction with tstools: https://github.com/dpkj/tstools/issues/76
This here works fine:
library(tempdisagg)
x <- ts(1:20, start = c(2000, 5), frequency = 12)
ta(x, to = 4)
#> Qtr1 Qtr2 Qtr3 Qtr4
#> 2000 12 21
#> 2001 30 39 48 57
Created on 2020-09-15 by the reprex package (v0.3.0)
Gewisse LIK-Rubriken (monatliche Reihen) lassen sich nicht zu Quartals- oder Jahresreihen aggregieren. Scheint damit zusammenzuhängen, dass die Monatsreihe nicht am Anfang des Quartals beginnt.