
Last chance! 50% off unlimited learning
Sale ends in
Tidy ABS time series data.
tidy_abs(df, metadata = TRUE)
A data frame containing ABS time series data
that has been extracted using extract_abs_sheets
.
logical. If `TRUE` (the default), a tidy data frame including ABS metadata (series name, table name, etc.) is included in the output. If `FALSE`, metadata is dropped.
data frame (tibble) in long format.
# NOT RUN {
# First extract the data from the local spreadsheet
# }
# NOT RUN {
wpi <- extract_abs_sheets("634501.xls")
# }
# NOT RUN {
# Then tidy the data extracted from the spreadsheet. Note that
# \code{extract_abs_sheets()} returns a list of data frames, so we need to
# subset the list.
# }
# NOT RUN {
tidy_wpi <- tidy_abs(wpi[[1]])
# }
# NOT RUN {
# }
Run the code above in your browser using DataLab