raustats (version 0.1.0)

abs_read_tss: Read ABS time series data file(s)

Description

This function extracts time series data from ABS data files.

Usage

abs_read_tss(files, type = "tss")

Arguments

files

Names of one or more ABS data files

type

One of either 'tss' -- ABS Time Series Spreadsheet (the Default) or 'css' -- Data Cube.R

Value

data frame in long format

Examples

Run this code
# NOT RUN {
  
# }
# NOT RUN {
    ## Read specified ABS Excel time series files
    tables <- abs_cat_tables("5206.0", releases="Latest", include_urls=TRUE);
    downloaded_tables <- abs_cat_download(tables$path_2[1], exdir=tempdir())
    extracted_files <- abs_cat_unzip(downloaded_tables)
    x <- abs_read_tss(extracted_files);
  
# }

Run the code above in your browser using DataLab