Generate the Server Code for the Web App
Usage
app_events()
app_server(input, output, session)
initial_reactive_values(global = global_list())
initial_output(main = ".", global, rv, output)
event_reaction(main, global, event, rv, input, output, session)
update_reactive_values(event, rv, input)
update_output(main, global, event, rv, input, output)
update_input(global, event, rv, input, session)Arguments
- input
inputlistfor the UI.- output
outputlistfor the UI.- session
Environment for the UI.
- global
A
listof global values for the app.- main
charactervalue of the name of the main component of the directory tree.- rv
reactiveValueslistfor the UI.- event
charactervalue of the server event.
Options are managed byapp_events– currently including"forecast_tab_species","forecast_tab_dataset","forecast_tab_model","forecast_tab_historic_end_newmoonnumber","evaluation_tab_species","evaluation_tab_dataset","evaluation_tab_model", and"evaluation_tab_historic_end_newmoonnumber")
Value
app_server: an observer reference class object (see observeEvent and observe). initial_reactive_values: a reactiveValues list. initial_output: an output list. event_reaction: updates the rv, output, and input lists, but does not return them, per se. update_reactive_values: a reactiveValues list. update_output: an output list. update_input: updates the input list, but does not return it. app_events: character vector of event names.
See also
Other shinyapp:
portalcasting app,
portalcasting app selection helpers,
portalcasting app ui