rba_stats: Return data for a specified RBA time series

Description Usage Arguments Value Author(s) Examples

View source: R/rba-functions.R

Description

Function to download and return specified RBA time series data.

Usage

1
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, e.g. series_type = "statistical_tables".

Value

data frame in long format

Author(s)

David Mitchell <david.pk.mitchell@gmail.com>

Examples

1
2
3
4
5
6
7
  
    ## Example - Selecting by table_no
    x <- rba_stats("A1");

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

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