View source: R/read_payrolls.R
download_previous_payrolls | R Documentation |
read_payrolls()
.This function is temporarily necessary while the readabs maintainer
attempts to resolve an issue with the ABS. The ABS as at late March 2021
stopped including Table 5 of the Weekly Payrolls release with each new
release of the data. This function finds the link from the previous
release and attemps to download it. This function will no longer be required
if/when the ABS reverts to the previous release arrangements. The function
is internal and is called by read_payrolls()
.
download_previous_payrolls(cube_name, path)
cube_name |
eg. DO004 for table 4 |
path |
Directory in which to download payrolls cube |
A list containing two elements: result
(will contain path + filename
to downloaded file if download was successful); and error
(NULL if file
downloaded successfully; character otherwise).
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.