Skip to contents

Gets the whole history of every index, sums it up with index_summary() and shows it as a table, with a small line of each index's last year. The histories are brought up to date when they are more than an hour old, and the table follows while the page stays open; the strip and the table of the exchanges follow the clock every minute. The CSV file, named like overview-2026-11-07.csv, holds the summary unrounded.

Usage

mod_overview_server(id, indices, dark_mode)

Arguments

id

Character. Module namespace id, must match the id used in mod_overview_ui().

indices

Data frame of indices from get_indices().

dark_mode

Reactive returning "light" or "dark", the mode of the app.

Value

A reactive returning the index_summary() of every index, for mod_performance_server().

Examples

if (FALSE) { # \dontrun{
# inside app_server():
function(input, output, session) {
  summary <- mod_overview_server("overview", get_indices(), reactive(input$dark_mode))
}
} # }