Get startedGet started for free

Eat, sleep, repeat

Now the subjects were also asked to record other activities: washing, sleeping, watching tv, etc. These can be found in the dataset daily_activities.

Use the three available performance metrics to solve the questions below.

  • processing_time() measures the time a person is active
  • idle_time() measures the time a person is idle
  • throughput_time() measures the total time between first and last reported event

This exercise is part of the course

Business Process Analytics in R

View Course

Exercise instructions

  • Which of the activities uses the most time? And which the least? Show graphically after using the processing time metric.
  • What is the average duration (in hours) on which data is reported, i.e. from the first activity a person executes until the last activity of that person?
  • Not all subjects recorded their activities continuously. What is the amount of time per subject (on average, in hours) of which the activities were idle?

Hands-on interactive exercise

Have a go at this exercise by completing this sample code.

# Time per activity
daily_activities %>% 
  ___(level = "___") %>% 
  plot()


# Average duration of recordings
daily_activities %>% 
  ___(___, units = "hours")


# Missing activities
daily_activities %>% 
  ___(___, ___)
Edit and Run Code