R/app_server.R

Defines functions app_server

#' The application server-side
#' 
#' @param input,output,session Internal parameters for {shiny}. 
#'     DO NOT REMOVE.
#' @import shiny
#' @noRd
app_server <- function( input, output, session ) {
  # List the first level callModules here
  
  latest <- tidycovid19::download_merged_data(silent = TRUE, cached = TRUE) %>% 
    dplyr::filter(!is.na(confirmed))
  
  callModule(mod_first_version_server, "first_version_ui_1", latest)
}
hamilton-institute/hamiltonREstCountry documentation built on April 24, 2021, 9:26 p.m.