takes a TS object and turns it into a long, tidy, data.frame. Useful for data manipulation and analysis in the tidyverse and plotting. The opposite operation as untidyTs()

tidyTs(TS, age.var = NA)

Arguments

TS

a LiPD Timeseries object

age.var

variable name for the time dimension

Value

a tidy data.frame

See also

Other LiPD manipulation: pullTsVariable(), pushTsVariable(), tidyTsOld(), untidyTs()