I want to using monthly time series to forecast a volume.
However, the volume in March and April were both zero and they are completely absent from the series.
So, I want to add two rows to my series, one for march and one for April with volume of zero for each of them. I aggregated my data from daily to monthly and I have something like this:
I would like to add 2020 Apr and 2020 May to my series and give them a volume of 0 each.
What is the most efficient way to do this? I tried to use add_row. Something is wrong.
Hi dsgeek,
You were on the right track, and add_row can only add rows to completed tsibbles via piping and not during construction. In addition, you have to make sure that
you're adding the same data types.