orgviz_server: Orgviz shiny server

Description Usage Arguments Value Examples

Description

Creates a shiny server object for the orgviz shiny app

Usage

1
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

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
## Not run: 
library(shiny)

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

## End(Not run)

ukgovdatascience/orgsurveyr documentation built on May 4, 2019, 7:41 p.m.