inst/shiny/orgviz_app.R

library(shiny)
library(orgsurveyr)

#modify by providing a tidygraph and dataframe rather than NULL

shinyApp(ui = orgviz_ui(),
         server = function(input, output) {
           orgviz_server(input, output, tg = NULL, df = NULL)
         }
)
ukgovdatascience/orgsurveyr documentation built on May 4, 2019, 7:41 p.m.