R/refresh.R

Defines functions refresh_covid19tunisia

Documented in refresh_covid19tunisia

#' Refresh data
#'
#' @param verbose Should messages about what's going on be displayed?
#'
#' @return A tibble of the most up to date per-day data on cases of COVID-19 in Tunisia, ordered by date descending.
#' @export
#'
#' @examples
#' refresh_covid19tunisia()

refresh_covid19tunisia <- function(verbose = TRUE) {

  #where is the data coming from
  if (verbose) message(glue::glue("Downloading raw data from {url}."))

  read_data()

}

Try the covid19tunisia package in your browser

Any scripts or data that you put into this service are public.

covid19tunisia documentation built on May 29, 2024, 1:37 a.m.