#' Aruba
#'
#' @source \url{`r repo("ABW")`}
#'
ABW <- function(level){
x <- NULL
#' @concept Level 1
#' @section Data Sources:
#'
#' ## Level 1
#' `r docstring("ABW", 1)`
#'
if(level==1){
#' - \href{`r repo("github.cssegisanddata.covid19")`}{Johns Hopkins Center for Systems Science and Engineering}:
#' confirmed cases,
#' deaths,
#' recovered.
#'
x1 <- github.cssegisanddata.covid19(country = "Netherlands", state = "Aruba", level = 2)
x1 <- x1[x1$date <= "2023-03-10",]
#' - \href{`r repo("who.int")`}{World Health Organization}:
#' confirmed cases,
#' deaths.
#'
x2 <- who.int(level = 1, id = "AW")
x2 <- x2[x2$date > "2023-03-10",]
#' - \href{`r repo("ourworldindata.org")`}{Our World in Data}:
#' tests,
#' total vaccine doses administered,
#' people with at least one vaccine dose,
#' people fully vaccinated,
#' hospitalizations,
#' intensive care.
#'
x3 <- ourworldindata.org(id = "ABW")
# merge
x <- bind_rows(x1, x2) %>%
full_join(x3, by = "date")
}
return(x)
}
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.