Skip to contents

Restricts the indicator choices to those with complete data for the currently selected countries, and renders the comparison line chart.

Usage

mod_country_comp_server(id, mfi)

Arguments

id

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

mfi

Data frame of World Bank indicator values (long format, with 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_country_comp_server("country_comp", mfi)
}
} # }