Provides summary statistics about the processing time of the process.
processing_time(eventlog, level, append, append_column, units, sort,
work_schedule, ...)# S3 method for eventlog
processing_time(eventlog, level = c("log", "trace",
"case", "activity", "resource", "resource-activity"), append = F,
append_column = NULL, units = c("days", "hours", "mins", "secs",
"weeks"), sort = TRUE, work_schedule = NULL, ...)
# S3 method for grouped_eventlog
processing_time(eventlog, level = c("log",
"trace", "case", "activity", "resource", "resource-activity"),
append = F, append_column = NULL, units = c("days", "hours",
"mins", "secs", "weeks"), sort = TRUE, work_schedule = NULL, ...)
The dataset to be used. Should be a (grouped) eventlog object.
eventlog
.
Level of granularity for the analysis: log, case, trace, activity, resource or resource-activity.
For more information, see vignette("metrics", "edeaR")
Logical, indicating whether to append results to original event log. Ignored when level is log or trace.
Which of the output columns to append to log, if append = T. Default column depends on chosen level.
Time units to be used
Sort on decreasing processing time. For case level only.
A schedule of working hours. If provided, only working hours are counted as processing time.
Deprecated arguments
eventlog
: Compute processing time for event log
grouped_eventlog
: Compute processing time on grouped eventlog
In contrast to the throughput time of the cases in an event log, the metrics concerning the active time or the actual processing time provide summary statistics on the processing time of events on the level of the complete event log, the specific cases, traces, the activities, and the resource-activity combinations.
On log level, this metric calculates the summary statistics of the actual processing time per case, summarised over the complete event log.
On case level, a list of cases with their processing time are provided.
On trace level, the summary statistics of processing time can be calculated for each possible sequence of activities that appears in the event log.
Duration can also be calculated on the level of each activity. For each activity, an overview of the average processing time -or the service time- of this activity can be of interest.
We can also look at the processing time per case on the level of each separate resource. This way, a company gets an overview of the amount of time each resource spends on a case and which resources spend more time on cases than others.
On the resource-activity level, finally, we can have a look at the efficiency of resources by looking at the combination of each resource with each activity.
Swennen, M. (2018). Using Event Log Knowledge to Support Operational Exellence Techniques (Doctoral dissertation). Hasselt University.