I have quarterly data on the prices of 4 types of petroleum prices and trying to do some analysis on it.
I am trying to get my tsibble from this:
to a tsibble of this format:
Essentially, I am trying to condense the 4 time series data by specifying a new key called "fuel_type" in my new tsibble.
The reason why, is because once I get it into the latter tsibble format, the autoplot() function makes my life easier for plotting all 4 time series graphs in one go.
Thanks!