Open Meras182 opened 2 years ago
Apologies for the late reply.
This is currently not directly supported, but there is a workaround to get to this data.
First, create a processmap with performance type, and store it as an object.
patients %>% process_map(performance()) -> p
Then, look for the attribute "base_precedence"
attr(p, "base_precedence") -> data
Then, from this data, the required information can be extracted as follows:
data %>% dplyr::as_tibble() %>% select(case, act, next_act, end_time, next_start_time)
Hi,
first of all, thanks for the great bupaR package. I really enjoy process mining with it.
I would like to calculate the time (I guess you call it idle time) between two subsequent activities for all cases that run though it. Some might need to run through it several times. I only found possibilities to calculate the idle time on an aggregated level but I would need the time per case. Because, afterwards, I would like to work with the sample and visualize the distribution of times.
Looking forward to your reply. Thanks!
Best Regards Meras