Construct a bipartite graph of entities and persons linked by
board/officer roles. Returns a tbl_graph (tidygraph) object
suitable for centrality analysis and ggraph visualization.
Arguments
- org_nrs
Character vector of organization numbers to include. Roles are fetched via
brreg_roles()for each entity.- roles_data
Optional pre-fetched roles tibble (from
brreg_roles()). If provided,org_nrsis ignored.
Value
A tbl_graph with two node types: "entity" (identified
by org_nr) and "person" (identified by person_id). Edge
attributes include role_code, role_group_code, and org_nr.
Details
For a full ego network including sub-units, child entities, and
legal roles in addition to board roles, use brreg_network()
instead.
See also
brreg_network() for full entity network graphs,
brreg_roles() to fetch role data,
brreg_board_summary() for board-level covariates.
Other tidybrreg governance functions:
brreg_network(),
brreg_survival_data()
Examples
if (FALSE) { # interactive() && curl::has_internet() && requireNamespace("tidygraph", quietly = TRUE)
# \donttest{
net <- brreg_board_network(c("923609016", "984851006"))
net
# }
}