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:

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:

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")

Try the raustats package in your browser

Any scripts or data that you put into this service are public.

raustats documentation built on Jan. 11, 2020, 9:31 a.m.