browse_rba_series {readrba} | R Documentation |
Browse available RBA data series
Description
Use these functions to find the table number or series ID of the data you're interested in.
Usage
browse_rba_series(search_string = "")
browse_rba_tables(search_string = "", refresh = FALSE)
Arguments
search_string |
Word or phrase to search for, such as "gold" or "commodity" or "labour".
If left as |
refresh |
logical; |
Value
A data.frame
(tbl_df
) containing RBA data series/tables that match the search_string
.
Where no search_string
is supplied, the data.frame will contain information
about all RBA series/tables.
The data.frame returned by browse_rba_tables()
includes a column called
readable
. This column takes the value TRUE
if the table is able to be
read by read_rba()
and FALSE
if it cannot be read.
Examples
# Find series that contain 'unemployment'
browse_rba_series("unemployment")
# Or all labour-related series
browse_rba_series("labour")
# Or those related to commodities
browse_rba_series("commodities")
# Or all series
browse_rba_series()
# Or just look for tables that contain the word 'labour'
browse_rba_tables("labour")
# Or all tables
browse_rba_tables()
# To re-scrape the RBA website to ensure you have up-to-date information
# about available tables:
## Not run:
browse_rba_tables(refresh = TRUE)
## End(Not run)