Skip to content

Commit

Permalink
Clarify documentation of read_abs() to note that release_date arg onl…
Browse files Browse the repository at this point in the history
…y reliably works for monthly (and some quarterly) data
  • Loading branch information
MattCowgill committed Jan 25, 2025
1 parent 25c4c94 commit 35fc681
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion R/read_abs.R
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,8 @@
#' @param release_date Either `"latest"` or a string coercible to a date, such as
#' `"2022-02-01"`. If `"latest"`, the latest release of the requested data will
#' be returned. If a date, (eg. `"2022-02-01"`) `read_abs()` will
#' attempt to download the data from that month's release. See `Details`.
#' attempt to download the data from that month's release. Note that this only
#' works consistently as expected for monthly data. See `Details`.
#'
#' @return A data frame (tibble) containing the tidied data from the ABS time
#' series table(s).
Expand Down Expand Up @@ -83,6 +84,8 @@
#' for obtaining the version of series that were available on a given date.
#' Note that you cannot supply more than one date to `release_date`. Note also
#' that any dates prior to mid-2019 (the exact date varies by series) will fail.
#' Specifying `release_date` only reliably works for monthly, and some
#' quarterly, data. It does not work for annual data.
#'
#' @rdname read_abs
#' @examples
Expand Down

0 comments on commit 35fc681

Please sign in to comment.