#' Japan
#'
#' @source \url{`r repo("JPN")`}
#'
JPN <- function(level){
x <- NULL
#' @concept Level 1
#' @section Data Sources:
#'
#' ## Level 1
#' `r docstring("JPN", 1)`
#'
if(level==1){
#' - \href{`r repo("github.lisphilar.covid19sir")`}{Hirokazu Takaya}:
#' confirmed cases,
#' deaths,
#' recovered,
#' tests,
#' total vaccine doses administered,
#' people with at least one vaccine dose,
#' people fully vaccinated,
#' hospitalizations,
#' intensive care.
#'
x <- github.lisphilar.covid19sir(level = level)
}
#' @concept Level 2
#' @section Data Sources:
#'
#' ## Level 2
#' `r docstring("JPN", 2)`
#'
if(level==2){
#' - \href{`r repo("github.lisphilar.covid19sir")`}{Hirokazu Takaya}:
#' confirmed cases,
#' deaths,
#' recovered,
#' tests,
#' hospitalizations,
#' intensive care.
#'
x <- github.lisphilar.covid19sir(level = level)
x$id <- id(x$prefecture, iso = "JPN", ds = "github.lisphilar.covid19sir", level = level)
}
return(x)
}
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.