orgviz: Orgviz shiny app

Description Usage Arguments Details Value Examples

Description

Convenience function to run the orgviz shiny app within an R session.

Usage

1
orgviz(tg = NULL, df = NULL)

Arguments

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.

Details

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.

Value

runs a shiny app

Examples

 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)

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