rba_file_download: Function to download statistics files from the RBA website...

Description Usage Arguments Value Author(s)

View source: R/rba-functions.R

Description

This function downloads one or more RBA data files at the specified by URLs and saves a local copy.

Usage

1
rba_file_download(data_url, exdir = tempdir(), update_cache = TRUE)

Arguments

data_url

Character vector specifying an RBA data set URL.

exdir

Target directory for downloaded files (defaults to tempdir()). Directory is created if it doesn't exist.

update_cache

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

Value

Downloads data from the ABS website and returns a character vector listing the location where files are saved.

Author(s)

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


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