get_siblings_df: Add a logical variable to the companies in a hierarchy when...

View source: R/company_hierarchy.R

get_siblings_dfR Documentation

Add a logical variable to the companies in a hierarchy when one of it's attributes match one of a set of values

Description

Add a logical variable to the companies in a hierarchy when one of it's attributes match one of a set of values

Usage

get_siblings_df(graph, company_ids)

Arguments

graph

A graph

company_ids

The name of the newly created logical company attribute

Value

A data-frame containing all sibling companies

Examples

graph <- get_siblings_df(graph)

mark-me/graydon.package documentation built on Nov. 14, 2023, 5:31 p.m.