View source: R/read_abs_if_updated.R
read_abs_if_updated | R Documentation |
Checks the latest observation date in a local ABS time series file; compares
that to the latest date for the catalogue number on the ABS website. If the
remote version is newer than the local version, download the catalogue
number using readabs::read_abs()
read_abs_if_updated(
cat_no = NULL,
path = here::here("data-raw", "abs-ts"),
include_orig_for_sadj = FALSE,
include_trend = FALSE
)
cat_no |
character, such as "6202.0" or "6345.0" |
path |
default is |
include_orig_for_sadj |
logical; default is |
include_trend |
logical; default is |
## Not run:
read_abs_if_updated("6345.0")
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.