list_istat_boundary_versions.RdQuery available boundary shapefile versions from the OnData repository. Results are cached for 24 hours to reduce API calls.
list_istat_boundary_versions(
since_year = 2020,
use_cache = TRUE,
verbose = TRUE
)A data.table with available versions, including:
date: Date in YYYYMMDD format
year: Year
source: Data source ("OnData")
base_url: Base URL for downloads
if (FALSE) { # \dontrun{
# List all available versions since 2020
versions <- list_istat_boundary_versions()
# List versions since 2022
versions <- list_istat_boundary_versions(since_year = 2022)
# Force refresh without using cache
versions <- list_istat_boundary_versions(use_cache = FALSE)
} # }