Activities as cornerstones of processes

Business Process Analytics in R

Gert Janssenswillen

Creator of bupaR

Example: Online learning

Business Process Analytics in R

A first glimpse of the event log

Getting an idea about the event log scope

  • How many cases are described?
  • How many distinct activities are performed?
  • How many events are recorded?
  • What is the time period in which the data is recorded?
Business Process Analytics in R
library(bupaR)

This information can be viewed by printing the summary of an event log

summary(learning)

or using count functions.

n_cases(learning)
498
n_activities(learning)
10
Business Process Analytics in R

Activities

Activities describe the flow of the process

  • Which actions are performed?
  • In what order are they performed?
Business Process Analytics in R

Exploring activities

activity_labels(learning)
 [1]  "Consult Dictionary"   "Consult Theory Pages" "Exercise 1"           
 [4]  "Exercise 2"           "Exercise 3"           "Exercise 4"          
 [7]  "Exercise 5"           "Exercise 6"           "Exercise 7"        
 [10] "Assessment" 
Business Process Analytics in R

Exploring activities

activities(learning)
# A tibble: 10 x 3
  action               absolute_frequency relative_frequency
   <chr>                             <dbl>              <dbl>
 1 Exercise 1                         516              0.142 
 2 Assessment                         498              0.137 
 3 Exercise 2                         493              0.135 
 4 Exercise 4                         442              0.121 
 5 Exercise 3                         436              0.120 
 6 Exercise 5                         360              0.0988
 7 Exercise 6                         302              0.0829
 8 Exercise 7                         299              0.0820
 9 Consult Dictionary                 165              0.0453
Business Process Analytics in R

Exploring sequences of activities

Each case is described by a sequence of activities, its trace.

Business Process Analytics in R

Exploring sequences of activities

  • A frequency table of traces can be retrieved with the traces function
traces(learning)
  • They can be visualized using the trace_explorer function
trace_explorer(learning)
Business Process Analytics in R

Let's practice!

Business Process Analytics in R

Preparing Video For Download...