raustats (version 0.1.0)

rba_stats: Return data for a specified RBA time series

Description

Function to download and return specified RBA time series data.

Usage

rba_stats(table_no, pattern, url, update_cache = FALSE, ...)

Arguments

table_no

Character vector specifying one or more RBA table numbers to download.

pattern

Character string or regular expression to be matched.

url

Valid URL for RBA dataset (Excel format only).

update_cache

Logical expression, if FALSE (default), use the cached list of available RBA datasets, if TRUE, update the list of available datasets.

...

Other arguments to rba_search

Value

data frame in long format

Examples

Run this code
# NOT RUN {
  
# }
# NOT RUN {
    ## Example - Selecting by table_no
    x <- rba_stats("A1");

    ## Example - Selecting by pattern
    x <- rba_stats(pattern="Liabilities and Assets");
  
# }

Run the code above in your browser using DataLab