Skip to contents

Fills the indicator picker with every indicator of mfi (on the server, as the list is long) and draws plot_map() for the chosen one.

Usage

mod_map_server(id, mfi)

Arguments

id

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

mfi

Data frame of World Bank indicator values (long format, with Country Code, Country Name, Indicator Name, Year, value columns).

Value

None. Called for its side effect of registering the module server.

Examples

if (FALSE) { # \dontrun{
# inside app_server():
function(input, output, session) {
  mod_map_server("map", mfi)
}
} # }