We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9596863 commit 52f2b6bCopy full SHA for 52f2b6b
R/endpoints.R
@@ -893,6 +893,16 @@ pub_covid_hosp_state_timeseries <- function(
893
#' @keywords endpoint
894
#' @export
895
pub_covidcast_meta <- function(fetch_args = fetch_args_list()) {
896
+ if (!is.null(cache_environ$use_cache) && cache_environ$use_cache && !fetch_args$ignore_cache) {
897
+ cli::cli_warn(
898
+ "epidatr cache is enabled, but it is unlikely you want to use it with the `pub_covidcast_meta` endpoint.
899
+ use `fetch_args(ignore_cache = TRUE)` to disable the cache for this call.",
900
+ class = "epidatr__pub_covidcast_meta__ignore_cache",
901
+ .frequency = "once",
902
+ .frequency_id = "covidcast_meta_cache"
903
+ )
904
+ }
905
+
906
create_epidata_call(
907
"covidcast_meta/",
908
list(),
0 commit comments