Nothing
end_activities_resource <- function(eventlog) {
absolute <- NULL
relative <- NULL
eventlog %>%
group_by_case() %>%
arrange(!!as.symbol(timestamp(eventlog)), .order) %>%
summarize(!!as.symbol(activity_id(eventlog)) := last(!!as.symbol(activity_id(eventlog))),
!!as.symbol(resource_id(eventlog)) := last(!!as.symbol(resource_id(eventlog)))) %>%
group_by(!!as.symbol(resource_id(eventlog))) %>%
summarize(absolute = n()) %>%
arrange(desc(absolute)) %>%
mutate(relative = absolute/n_cases(eventlog),
cum_sum = cumsum(relative)) %>%
arrange(!!resource_id_(eventlog))
}
Any scripts or data that you put into this service are public.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.