Description Usage Arguments Value Author(s) Examples
View source: R/abs-cat-functions.R
This function downloads ABS catalogue series statistics, by ABS catalogue number.
1 2 3 4 5 6 7 | abs_cat_stats(
cat_no,
tables = "All",
releases = "Latest",
types = "tss",
na.rm = TRUE
)
|
cat_no |
Character vector specifying one or more ABS collections or catalogue numbers to download. |
tables |
A character vector of regular expressions denoting tables to download. The default ('All') downloads all time series spreadsheet tables for each specified catalogue. Use a list to specify different table sets for each specified ABS catalogue number. |
releases |
Date or character string object specifying the month and year denoting which release to download. Default is "Latest", which downloads the latest available data. See examples for further details. |
types |
One of either 'tss' – ABS time series spreadsheet (the default) or 'css' – ABS data cube (cross-section spreadsheet). |
na.rm |
logical (default: |
data frame in long format
David Mitchell <david.pk.mitchell@gmail.com>
1 2 3 4 5 6 7 |
## Download quarterly Australian National Accounts, Tables 1 & 2
ana_q <- abs_cat_stats("5206.0", tables=c("Table 1\\W+", "Table 2\\W+"));
## Download December 2017 Australian National Accounts, Table 1
ana_q_2017q4 <- abs_cat_stats("5206.0", tables="Table 1\\W+", release="Dec 2017");
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.