@@ -885,6 +885,8 @@ pub_covid_hosp_state_timeseries <- function(
885885# ' available, the geographic levels at which they are reported, and etc.
886886# '
887887# ' @param fetch_args [`fetch_args`]. Additional arguments to pass to `fetch()`.
888+ # ' By default, the cache is refreshed (since we anticipate the user will want
889+ # ' to see the latest metadata).
888890# '
889891# ' @return [`tibble::tibble`]
890892# '
@@ -896,7 +898,7 @@ pub_covid_hosp_state_timeseries <- function(
896898# ' @seealso [pub_covidcast()],[covidcast_epidata()]
897899# ' @keywords endpoint
898900# ' @export
899- pub_covidcast_meta <- function (fetch_args = fetch_args_list()) {
901+ pub_covidcast_meta <- function (fetch_args = fetch_args_list(refresh_cache = TRUE )) {
900902 create_epidata_call(
901903 " covidcast_meta/" ,
902904 list (),
@@ -1466,12 +1468,13 @@ pub_fluview_clinical <- function(
14661468# ' }
14671469# '
14681470# ' @param fetch_args [`fetch_args`]. Additional arguments to pass to `fetch()`.
1471+ # ' Set `refresh_cache=TRUE` to force a refresh of the cache.
14691472# '
14701473# ' @return [`tibble::tibble`]
14711474# ' @seealso [`pub_fluview()`]
14721475# ' @keywords endpoint
14731476# ' @export
1474- pub_fluview_meta <- function (fetch_args = fetch_args_list()) {
1477+ pub_fluview_meta <- function (fetch_args = fetch_args_list(refresh_cache = TRUE )) {
14751478 create_epidata_call(
14761479 " fluview_meta/" ,
14771480 list (),
@@ -1746,11 +1749,12 @@ pub_kcdc_ili <- function(
17461749# ' }
17471750# ' @param auth string. Restricted access key (not the same as API key).
17481751# ' @param fetch_args [`fetch_args`]. Additional arguments to pass to `fetch()`.
1752+ # ' Set `refresh_cache=TRUE` to force a refresh of the cache.
17491753# ' @return [`list`]
17501754# ' @seealso [`pvt_norostat()`]
17511755# ' @keywords endpoint
17521756# ' @export
1753- pvt_meta_norostat <- function (auth , fetch_args = fetch_args_list()) {
1757+ pvt_meta_norostat <- function (auth , fetch_args = fetch_args_list(refresh_cache = TRUE )) {
17541758 assert_character_param(" auth" , auth , len = 1 )
17551759
17561760 create_epidata_call(
@@ -1765,11 +1769,12 @@ pvt_meta_norostat <- function(auth, fetch_args = fetch_args_list()) {
17651769# ' API docs: <https://cmu-delphi.github.io/delphi-epidata/api/meta.html>
17661770# '
17671771# ' @param fetch_args [`fetch_args`]. Additional arguments to pass to `fetch()`.
1772+ # ' Set `refresh_cache=TRUE` to force a refresh of the cache.
17681773# '
17691774# ' @return [`list`]
17701775# ' @keywords endpoint
17711776# ' @export
1772- pub_meta <- function (fetch_args = fetch_args_list()) {
1777+ pub_meta <- function (fetch_args = fetch_args_list(refresh_cache = TRUE )) {
17731778 create_epidata_call(" meta/" , list (), only_supports_classic = TRUE ) %> % fetch(fetch_args = fetch_args )
17741779}
17751780
0 commit comments