raustats v0.1.0


Monthly downloads



Access Data and Statistics from the ABS and RBA Websites

Functions for downloading Australian economic statistics from the Australian Bureau of Statistics (ABS) (see <https://www.abs.gov.au/>) and Reserve Bank of Australia (RBA) (see <https://www.rba.gov.au/>) websites.


raustats: An R package for accessing ABS and RBA statistics

An R package for downloading Australian economic statistics from the Australian Bureau of Statistics (ABS) and Reserve Bank of Australia (RBA) websites.


You can install the released version of raustats from CRAN with:


or the latest development version from github with:


How to use raustats

To learn more about the raustats package, start with the vignettes:

browseVignettes(package = "raustats")


The Australian Bureau of Statistics (ABS) is Australia’s national statistical agency, providing trusted official statistics on a wide range of economic, social, population and environmental matters of importance to Australia. Key ABS statistical collections include:

  • Australian National Accounts
  • International Trade
  • Consumer Price Index (CPI)
  • Labour Force
  • Population trends

The Reserve Bank of Australia (RBA) is Australia’s central bank. In addition to its legislative responsibilities, it collects and publishes statistics on money, credit, the Australian banking systems and other relevant economic metrics. Key RBA statistics include:

  • Banking system assets and liabilities
  • Money and credit statistics
  • Household and business finances
  • Interest rates
  • Exchange rates
  • Inflation and inflation expectations.

The ABS and RBA make their statistics primarily available through Excel and/or CSV spreadsheets.

This package provides functions to search and download data and statistics from the Australian Bureau of Statistics (ABS) and Reserve Bank of Australia (RBA) websites, as well as draft access to the ABS.Stat - Beta data catalogue API.


Downloading ABS Catalogue Statistics

ABS catalogue statistics may be downloaded, by catalogue number, using the abs_cat_stats() function. The following example downloads all Consumer Price Index (CPI) data series (ABS Catalogue no. 6401.0).

cpi_all <- abs_cat_stats("6401.0")

To download only the latest statistics reported in Table 1 (ABS groups Tables 1 and 2), simply provide a regular expression to the tables argument:

cpi <- abs_cat_stats("6401.0", tables="Table.+1")

The package also provides functions to ABS statistics via the ABS.Stat Beta API. See the package help and vignettes for examples.

Downloading RBA data

RBA data series may be downloaded by table number, using the rba_stats() function. The following example downloads Table A1 - Liabilities and Assets of the RBA.

rba_bs <- rba_stats("A1")

Functions in raustats

Name Description
abs_cat_download Function to download files from the ABS website and store locally
rba_stats Return data for a specified RBA time series
abs_stats Download data from the ABS API
rba_file_download Function to download statistics files from the RBA website and store locally
rba_cachelist Cached list of statistical tables provided by the RBA
aus_state_codes Table of Australian state and territory codes
rba_table_cache Return list of RBA tables
fin_year Create financial year date object
excel2Date Convert Excel numeric date to R Date object
abs_read_tss Read ABS time series data file(s)
abs_dimensions Return available dimensions of ABS series
abs_search Search dataset information from the ABS.Stat API
abs_metadata Download updated data series information from the ABS API
raustats raustats: An R package for accessing data and statistics from the ABS and RBA websites
raustats_ua raustats package user agent
rba_read_tss Read RBA statistical time series spreadsheet
last_day Set Date object to the last day of the month
rba_search Return list of data tables from RBA website
quarter2Date Convert dates formatted as year-quarter to dates objects
rba_urls RBA base URL and data paths
abs_cat_stats Get ABS catalogue series data
abs_cat_tables Return ABS catalogue tables
abs_api_call Download updated indicator information from the ABS API
abs_api_urls URL chunks to be used in API calls
abs_cachelist Datasets available through the ABS API
abs_cat_cachelist List of ABS catalogue tables
abs_cat_unzip Uncompress locally-stored ABS Catalogue data file archives
abs_datasets Download updated data series information from the ABS API
abs_call_api Download specified URL
No Results!

Vignettes of raustats

No Results!

Last month downloads


Type Package
Date 2019-03-03
URL https://github.com/mitcda/raustats
License GPL-3
LazyData TRUE
RoxygenNote 6.1.1
VignetteBuilder knitr
NeedsCompilation no
Encoding UTF-8
Packaged 2019-03-12 09:32:51 UTC; david
Repository CRAN
Date/Publication 2019-03-13 15:20:03 UTC

Include our badge in your README