This function takes employee and supervisor identifiers (name, ID, etc.) and returns a long data frame consisting of one row per employee for every supervisor above them, up to the CEO.
The resulting format is useful for quickly filtering to a specific part of the workforce that directly and indirectly reports up through a particular leader.
A list of values representing employees (e.g. employee IDs).
A list of values representing the supervisors of the employees. These values should be of the same type as the employee values.
1 2 3
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.