Detect overlapping acitivity instances
detect_overlaps(activitylog, details, level_of_aggregation, filter_condition)
activitylog | The activity log |
---|---|
details | Boolean indicating wheter details of the results need to be shown |
level_of_aggregation | Look for overlapping activity instances within a case or within a resource. |
filter_condition | Condition that is used to extract a subset of the activity log prior to the application of the function |
tbl_df providing an overview of activities which are performed in parallel by a resource, together with the occurrence frequency of the overlap and the average time overlap in minutes
#> # A tibble: 7 x 4 #> activity_a activity_b n avg_overlap_mins #> <chr> <chr> <int> <dbl> #> 1 Clinical exam Treatment 2 8.17 #> 2 Registration Clinical exam 1 1.9 #> 3 Registration Triaga 1 2.65 #> 4 Registration Triage 1 1.93 #> 5 Triage Clinical exam 2 5.63 #> 6 Triage Registration 1 0.817 #> 7 Triage Treatment 1 9.33# }