View source: R/internal-utils.R
spod_get_valid_dates | R Documentation |
Get all metadata for requested data version and identify all dates available for download.
spod_get_valid_dates(ver = NULL)
ver |
Integer. Can be 1 or 2. The version of the data to use. v1 spans 2020-2021, v2 covers 2022 and onwards. |
A vector of type Date
with all possible valid dates for the specified data version (v1 for 2020-2021 and v2 for 2020 onwards).
# 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)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.