View source: R/company_hierarchy.R
select_graph_hierarchies | R Documentation |
This function searches the graphs of a vector of companies for their complete hierarchies from a graph containing containing a multitude of company hierarchies.
select_graph_hierarchies(graph_all_companies, id_companies,
unique = TRUE)
graph_all_companies |
A graph containing all company/company relations data. |
id_companies |
A vector of company id's of which you want to retrieve the whole hierarchy |
unique |
Boolean specifying whether only the unique company hierarchies should be returned when asked for multiple companies from the same network |
The graphs will be unique, and contain a vertex attribute is_searched_company which specifies whether it the vertex represents a company which was selected
A list of graphs containing the grawith the company hierarchy of the specifief company
select_graph_hierarchies <- find_company_hierarchy(graph_all_companies, "931238099")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.