read_abs_url {readabs} | R Documentation |
Download and import an ABS time series spreadsheet from a given URL
Description
Download and import an ABS time series spreadsheet from a given URL
Usage
read_abs_url(
url,
path = Sys.getenv("R_READABS_PATH", unset = tempdir()),
show_progress_bars = TRUE,
...
)
Arguments
url |
Character vector of url(s) to ABS time series spreadsheet(s). |
path |
Local directory in which downloaded ABS time series
spreadsheets should be stored. By default, |
show_progress_bars |
TRUE by default. If set to FALSE, progress bars will not be shown when ABS spreadsheets are downloading. |
... |
Additional arguments passed to |
Details
If you have a specific URL to the time series spreadsheet you wish
to download, read_abs_url()
will download, import and tidy it. This is
useful for older vintages of data, or discontinued data.
Examples
## Not run:
url <- paste0(
"https://www.abs.gov.au/statistics/labour/",
"employment-and-unemployment/labour-force-australia/aug-2022/6202001.xlsx"
)
read_abs_url(url)
## End(Not run)