Description Usage Arguments Details Examples
If you need to download and tidy time series data from the ABS, use read_abs()
.
read_abs_local()
imports and tidies data from ABS time series spreadsheets that
are already saved to your local drive.
1 | read_abs_local(filenames = NULL, path = "data/ABS")
|
filenames |
character vector of at least one filename of a locally-stored ABS time series spreadsheet. For example, "6202001.xls" or c("6202001.xls", "6202005.xls"). If 'filenames' is blank, 'read_abs_local()' will attempt to read all .xls files in the directory specified with 'path'. Please note that the directory should be specified with 'path'. |
path |
path to local directory containing ABS time series file(s). Default is "data/ABS". If nothing is specified in 'filenames', 'read_abs_local()' will attempt to read all .xls files in the directory specified with 'path'. |
Unlike read_abs()
, the 'table_title' column in the data frame
returned by read_abs_local()
is blank. If you require 'table_title',
please use read_abs()
instead.
1 2 3 4 | # Load and tidy two specified files from the "data/ABS" subdirectory
# of your working directory
lfs <- read_abs_local(c("6202001.xls", "6202005.xls"))
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.