The tsibble package is immensely powerful which allows dataframes to be converted to time series objects. This will be helpful for working with forecast and all of the other times series packages.
I'm thinking two function or more functions with one that converts to a tsibble and another that converts to standard ts object type.