Builds the URL to download ERVISS SARI rates data, either the latest batch or a specific snapshot.
Examples
# Get latest data URL
get_sari_rates_url()
#> [1] "https://raw.githubusercontent.com/EU-ECDC/Respiratory_viruses_weekly_data/refs/heads/main/data/SARIRates.csv"
# Get snapshot URL
get_sari_rates_url(use_snapshot = TRUE, snapshot_date = as.Date("2023-11-24"))
#> [1] "https://raw.githubusercontent.com/EU-ECDC/Respiratory_viruses_weekly_data/refs/heads/main/data/snapshots/2023-11-24_SARIRates.csv"