This function takes employee and supervisor identifiers (name, ID, etc.) and returns a wide data frame consisting of a single row per employee and their respective reporting hierarchy in a wide format.
The resulting format is very useful for subsequent aggregation of employee data for a particular leadership tree.
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.