Creates a shiny server object for the orgviz shiny app

orgviz_server(input, output, tg = NULL, df = NULL)

Arguments

input

shiny input

output

shiny output

tg

user supplied tbl_graph

df

user supplied a data frame in org_tall_df format ie summarised metrics for the units in the network as generated by calc_summary_df.

Value

shiny server function

Examples

# NOT RUN {
library(shiny)

shinyApp(ui = orgviz_ui(),
         server = function(input, output) {
           orgviz_server(input, output, tg = NULL, df = NULL)
         }
)
# }