Description Usage Arguments Details Value Examples
Convenience function to run the orgviz shiny app within an R session.
| 1 | 
| 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. | 
The orgviz shiny app permits interactive exploration of an organisational network, and the mapping of numeric data onto the organisation. By default a dataset is simulated, but a tidygraph object and a data frame in the org_tall_df format call be supplied to visualise custom data.
runs a shiny app
| 1 2 3 4 5 6 7 8 9 10 | ## Not run: 
# run with embedded data
orgviz()
# run with example data
orgviz(tg=orgsurveyr::tg_org, df=orgsurveyr::tg_org_summarised_df)
## End(Not run)
 | 
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.