Description Usage Arguments Value Author(s) Examples
View source: R/abs-cat-functions.R
Return list of data tables available from specified ABS catalogue number.
1 2 3 4 5 6 | abs_cat_tables(
cat_no,
releases = "Latest",
types = c("tss", "css"),
include_urls = FALSE
)
|
cat_no |
ABS catalogue numbers. |
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 |
ABS publication types to return. Permissable options include one or more of: 'tss' – ABS Time Series Spreadsheets, 'css' - ABS Data Cubes and 'pub' – ABS Publications. The default returns all Time Series Spreadsheets and Data Cubes. |
include_urls |
Include full URLs to returned ABS data files. Default (FALSE) does not include data file URLs. |
Returns a data frame listing the data collection tables and URLs for Excel (column:
path_xls
) and, if available, Zip (column: path_zip
) files.
David Mitchell <david.pk.mitchell@gmail.com>
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 |
## List latest available quarterly National Accounts tables
ana_tables <- abs_cat_tables("5206.0", releases="Latest");
ana_tables_url <- abs_cat_tables("5206.0", releases="Latest", include_urls=TRUE);
## List latest available CPI Time Series Spreadsheet tables only
cpi_tables <- abs_cat_tables("6401.0", releases="Latest", types="tss");
cpi_tables_url <- abs_cat_tables("5206.0", releases="Latest", types="tss", include_urls=TRUE);
## List latest available ASGS Volume 3 Data Cubes
asgs_vol3_tables <- abs_cat_tables("1270.0.55.003", releases="Latest", types="css");
asgs_vol3_tables_url <- abs_cat_tables("1270.0.55.003", releases="Latest",
types="css", include_urls=TRUE);
## List latest available ASGS ANZSIC publications (PDF) files
anzsic_2006 <- abs_cat_tables("1292.0", releases="Latest", types="pub", include_urls=TRUE);
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.