I have attendance data for a virtual meeting. This includes the employee name, their direct manager, and their respective join/leave timestamps. Some employees coming and going multiple times (see rows 5 and 6)
I'd like to create a visualization showing attendance (as a percentage of total attendees) over the course of the meeting session, beginning to end.
To do this, I figured I'd create a table with the first column being a sequence of times starting from the min(join_time) and ending with the max(leave_time) broken down in 30 second intervals. Then add summary columns that count the total instances where that time falls in an employee's join/leave time like this...
I'm working in R within the tidyverse so if there's a dplyr, lubridate solution that'd be ideal.