View source: R/company_hierarchy.R
mark_companies_logical | R Documentation |
Add a logical variable to the companies in a hierarchy when one of it's attributes match one of a set of values
mark_companies_logical(graph, name_logical, name_filter, set_criteria)
graph |
A graph |
name_logical |
The name of the newly created logical company attribute |
name_filter |
The name of the attribute which values are compared to the criteria |
set_criteria |
The set of criteria in a vector to which the values are compared |
A graph where all the nodes contain the newly created attribute
graph <- mark_companies_logical(graph, "is_holding", "code_SBI", c("64", "642", "6420"))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.