raustats (version 0.1.0)

rba_search: Return list of data tables from RBA website

Description

Function to return a list of all RBA data tables.

Usage

rba_search(pattern, fields = c("table_no", "table_name"),
  ignore.case = TRUE, update_cache = FALSE)

Arguments

pattern

Character string or regular expression to be matched

fields

Character vector of column names through which to search. By default, the function searches 'table_no' and 'table_name'.

ignore.case

Case senstive pattern match or not.

update_cache

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

Value

data frame in long format

Examples

Run this code
# NOT RUN {
 rba_datasets <- rba_search(pattern = "Liabilities and Assets");
# }

Run the code above in your browser using DataCamp Workspace