pq_data %>%
create_stacked(hrvar = "LevelDesignation",
metrics = c("Meeting_hours", "Email_hours"),
return = "plot")
pq_data %>%
create_stacked(hrvar = "FunctionType",
metrics = c("Meeting_hours",
"Email_hours",
"Call_hours",
"Chat_hours"),
return = "plot",
rank = "ascending")
pq_data %>%
create_stacked(hrvar = "FunctionType",
metrics = c("Meeting_hours",
"Email_hours",
"Call_hours",
"Chat_hours"),
return = "table")
Run the code above in your browser using DataLab