Get valid dates for the specified data version
Usage
spod_get_valid_dates(ver = NULL)
Arguments
- ver
Integer. Can be 1 or 2. The version of the data to use. v1 spans 2020-2021, v2 covers 2022 and onwards.
Value
A vector of type Date
with all possible valid dates for the specified data version (v1 for 2020-2021 and v2 for 2020 onwards).
Examples
if (FALSE) { # interactive()
# \donttest{
# Get all valid dates for v1 (2020-2021) data
spod_get_valid_dates(ver = 1)
# Get all valid dates for v2 (2020 onwards) data
spod_get_valid_dates(ver = 2)
# }
}