Get Subregional Estimate Urls
getSubregionalUrls(path, areas)
A character string container the overall path to subnational estimates
A character vector listing the subregional estimates (assuming that listed in the geoData with capitalisation and without capitalisation in the path).
A named list of subnational urls.
getSubregionalUrls(path = "https://epiforecasts.io/covid/posts/national/",
areas = c('Afghanistan', 'Brazil', 'Colombia', 'United States'))
#> Afghanistan
#> "https://epiforecasts.io/covid/posts/national/afghanistan/"
#> Brazil
#> "https://epiforecasts.io/covid/posts/national/brazil/"
#> Colombia
#> "https://epiforecasts.io/covid/posts/national/colombia/"
#> United States
#> "https://epiforecasts.io/covid/posts/national/united-states/"