View source: R/company_hierarchy.R
count_companies_by_set | 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
count_companies_by_set(graph, name_filter, set_criteria)
graph |
A graph |
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
count_companies_by_set(graph = graph_company, "code_SBI", "64", "642", "6420"))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.