ts_summarise | R Documentation |
Summarise a data frame containing ABS time series
ts_summarise(df, digits = 1)
df |
Data frame containing ABS time series |
digits |
Number of digits to round numbers to |
Data frame with the following columns
series_id Unique ABS time series ID
series Name of the ABS time series
indicator Fragment of the series that refers to the thing that is being measured (eg. 'Unemployment rate'). Only defined for the LFS.
latest_date Date of latest value
latest_value Latest value
d_year_abs Change between latest observation and prior year in absolute terms
d_year_perc Change between latest observation and prior year in percentage terms
d_period_abs Change between previous and latest period in absolute terms
d_period_perc Change between previous and latest period in percentage terms
ptile_latest_value Percentile of latest value within full history
ptile_d_year_abs Percentile of absolute changee over past year, within full history
ptile_d_year_perc Percentile of percentage change over past year, within full history
ptile_d_period_abs Percentile of absolute change over latest period, within full history
ptile_d_period_perc Percentile of percentage change over latest period, within full history
latest_period Month of latest value
latest_year Year of latest value
prev_date Date of previous period
prev_value Value in previous period
prev_period Month of previous period
min_date Date of earliest observation in data for series
precovid_value Value on the observation prior to 2020-03-14
d_sincecovid_perc Percentage change in value since the observation prior to 2020-03-14
up_is_good Logical. TRUE
if an increase in value is 'good',
FALSE
if it is 'bad', NA if it is undefined or neither good nor bad. Only defined for the LFS.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.