R/who_covid_pandemic.R

Defines functions who_pandemic

Documented in who_pandemic

#' Returns a dataframe of when WHO declared COVID-19 a pandemic
#' @description Returns a dataframe of when WHO declared COVID-19 a pandemic
#' @export
#'
# WHO Pandemic date
who_pandemic <- function() {
  df <- tibble::tribble(
    ~date,        ~measure,
    "2020-03-11", "WHO declares COVID-19 Pandemic") %>%
    dplyr::mutate(date = as.Date(date))
  return(df)
}
USAID-OHA-SI/COVIDutilities documentation built on Aug. 18, 2022, 2:28 a.m.