Builds the URL to download ERVISS non-sentinel tests/detections data, either the latest batch or a specific snapshot.
Examples
# Get latest data URL
get_nonsentinel_tests_url()
#> [1] "https://raw.githubusercontent.com/EU-ECDC/Respiratory_viruses_weekly_data/refs/heads/main/data/nonSentinelTestsDetections.csv"
# Get snapshot URL
get_nonsentinel_tests_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_nonSentinelTestsDetections.csv"