Skip to contents

Trend extraction

Add or extract smooth trend components.

augment_trends()
Add trend columns to data frame
extract_trends()
Extract trends from time series objects

Decomposition

Split a series into trend, seasonal, and remainder components.

decompose_series()
Decompose time series into trend, seasonal, and remainder components
deseason_series()
Seasonally adjust (deseason) a time series

Converters

Convert between data frames and time series objects.

converters
Data Format Conversion Utilities
df_to_ts()
Convert a data.frame into a time series (ts)
ts_to_df()
Convert time series to tibble

Datasets

Bundled economic time series for examples and testing.

coffee_arabica
Daily Arabica Coffee Price
coffee_robusta
Daily Robusta Coffee Price
electric
Electric Consumption Residential
electricity
Electricity Consumption by Sector
gdp_construction
GDP Construction Index
ibcbr
Central Bank Economic Activity Index
metadata_series
Series Metadata
oil_derivatives
Oil Derivatives Production
retail_autofuel
UK Retail Sales - Automotive Fuel
retail_volume
UK Retail Index
transit_london_avgs
London Transit - Average Daily Journeys
transit_london_monthly
London Transit - Monthly Journey Totals
vehicles
Vehicle Production