The eventdataR package contains several real-life and artificial event logs. Each can be loaded using the data function. The currently available event logs are listed below. More event logs will be added in the future.

Artifical data

Patients

Artificial eventlog about patients arriving in an emergency department of a hospital. This event log was used as the running example in the journal paper entitled Retrieving batch organisation of work insights from event logs.

library(bupaR)
data(patients)
patients %>% summary
## Number of events:  5442
## Number of cases:  500
## Number of traces:  7
## Number of distinct activities:  7
## Average trace length:  10.884
## 
## Start eventlog:  2017-01-02 11:41:53
## End eventlog:  2018-05-05 07:16:02
##    handling            patient        employee          handling_id  
##  Length:5442        Min.   :  1.0   Length:5442        Min.   :   1  
##  Class :character   1st Qu.:125.0   Class :character   1st Qu.: 681  
##  Mode  :character   Median :249.0   Mode  :character   Median :1361  
##                     Mean   :249.2                      Mean   :1361  
##                     3rd Qu.:374.0                      3rd Qu.:2041  
##                     Max.   :500.0                      Max.   :2721  
##  registration_type       time                    
##  Length:5442        Min.   :2017-01-02 11:41:53  
##  Class :character   1st Qu.:2017-05-06 17:15:18  
##  Mode  :character   Median :2017-09-08 04:16:50  
##                     Mean   :2017-09-02 20:52:34  
##                     3rd Qu.:2017-12-22 15:44:11  
##                     Max.   :2018-05-05 07:16:02

Example log

This articial event log contains 1000 cases of an abstract process (activities named A,B,C, …).

Real-life data

BPIC14 incidents log

Dataset originating of the BPI Challenge 2014, organized by the BPI Workshop, containing the events.

BPIC14_incident_log %>%
    summary
## Number of events:  39911
## Number of cases:  4000
## Number of traces:  2430
## Number of distinct activities:  36
## Average trace length:  9.97775
## 
## Start eventlog:  2013-02-06 13:07:45
## End eventlog:  2014-04-02 14:04:51
##     incident_id      data_stamp                  incident_activity_number
##  IM0000220:  170   Min.   :2013-02-06 13:07:45   001A3926336:    1       
##  IM0008030:  138   1st Qu.:2013-11-05 11:31:03   001A3926348:    1       
##  IM0000073:  123   Median :2013-12-17 09:23:11   001A3926349:    1       
##  IM0000447:   98   Mean   :2013-12-20 03:39:57   001A3926350:    1       
##  IM0033368:   98   3rd Qu.:2014-02-06 10:47:27   001A3926351:    1       
##  IM0019957:   93   Max.   :2014-04-02 14:04:51   001A3926352:    1       
##  (Other)  :39191                                 (Other)    :39905       
##      incident_activity_type assignment_group     km_number    
##  Assignment     : 7602      TEAM0008: 6940   KM0001106: 1903  
##  Operator Update: 4762      TEAM0018: 1594   KM0001444:  909  
##  Reassignment   : 4452      TEAM0039: 1524   KM0000611:  682  
##  Closed         : 4337      TEAM0031: 1417   KM0001825:  628  
##  Status Change  : 4288      TEAM0007: 1309   KM0000553:  539  
##  Open           : 4000      TEAM0023: 1308   KM0001447:  485  
##  (Other)        :10470      (Other) :25819   (Other)  :34765  
##    interaction_id   lifecycle        
##  SD0000250:  170   Length:39911      
##  SD0021258:  138   Class :character  
##  SD0000099:  123   Mode  :character  
##  SD0000655:   98                     
##  SD0101276:   98                     
##  (Other)  :39029                     
##  NA's     :  255

BPIC14 incidents case attributes

Dataset originating of the BPI Challenge 2014, organized by the BPI Workshop, containing the case attributes.

BPIC14_incident_case_attributes %>% 
    summary
##     ci_name_aff           ci_type_aff                    ci_subtype_aff
##  SUB000456: 264   application   :2848   Server Based Application:1653  
##  SBA000263: 201   subapplication: 664   Web Based Application   :1296  
##  SBA000607: 169   computer      : 309   Desktop Application     : 330  
##  SBA000462: 143   storage       :  46   Laptop                  : 160  
##  WBA000058: 143   hardware      :  41   SAP                     : 112  
##  WBA000133: 117   software      :  32   Banking Device          :  78  
##  (Other)  :2963   (Other)       :  60   (Other)                 : 371  
##  service_component_wbs_aff    incident_id      status     impact  
##  WBS000073:1155            IM0000013:   1   Closed:4000   2:  63  
##  WBS000263: 221            IM0000048:   1                 3: 554  
##  WBS000091: 211            IM0000049:   1                 4:1919  
##  WBS000072: 201            IM0000073:   1                 5:1464  
##  WBS000271: 112            IM0000074:   1                         
##  WBS000095:  98            IM0000105:   1                         
##  (Other)  :2002            (Other)  :3994                         
##  urgency  priority                    category        km_number   
##  2:  62   2:  63   incident               :3198   KM0001106: 112  
##  3: 560   3: 569   request for information: 802   KM0001825:  74  
##  4:1910   4:1920                                  KM0000940:  73  
##  5:1468   5:1448                                  KM0001444:  67  
##                                                   KM0002043:  57  
##                                                   KM0000226:  53  
##                                                   (Other)  :3564  
##  alert_status  x_reassignments    open_time                  
##  closed:4000   Min.   : 0.000   Min.   :2012-08-10 11:27:59  
##                1st Qu.: 0.000   1st Qu.:2013-11-06 14:30:46  
##                Median : 0.000   Median :2013-12-20 15:21:31  
##                Mean   : 1.135   Mean   :2013-12-24 09:29:43  
##                3rd Qu.: 1.000   3rd Qu.:2014-02-10 10:33:15  
##                Max.   :34.000   Max.   :2014-03-31 13:47:31  
##                                                              
##   reopen_time                  resolved_time                
##  Min.   :2013-09-13 10:04:34   Min.   :2013-10-01 07:52:43  
##  1st Qu.:2013-11-08 09:24:36   1st Qu.:2013-11-11 16:28:46  
##  Median :2013-12-17 13:21:30   Median :2013-12-31 11:05:25  
##  Mean   :2013-12-23 05:09:01   Mean   :2013-12-29 13:48:14  
##  3rd Qu.:2014-02-06 23:57:36   3rd Qu.:2014-02-13 11:42:49  
##  Max.   :2014-03-31 11:45:33   Max.   :2014-03-31 17:28:27  
##  NA's   :3817                  NA's   :155                  
##    close_time                  handle_time_hours 
##  Min.   :2013-10-01 07:52:46   Min.   :   0.000  
##  1st Qu.:2013-11-12 08:44:31   1st Qu.:   0.876  
##  Median :2013-12-31 09:25:02   Median :   4.050  
##  Mean   :2013-12-29 12:27:34   Mean   :  24.871  
##  3rd Qu.:2014-02-13 10:47:37   3rd Qu.:  16.326  
##  Max.   :2014-03-31 17:28:37   Max.   :3383.437  
##                                                  
##                        closure_code  x_related_interactions
##  Other                       :1452   Min.   :  1.00        
##  Software                    :1094   1st Qu.:  1.00        
##  User error                  : 295   Median :  1.00        
##  No error - works as designed: 288   Mean   :  1.21        
##  Hardware                    : 250   3rd Qu.:  1.00        
##  (Other)                     : 583   Max.   :370.00        
##  NA's                        :  38   NA's   :12            
##   related_interaction x_related_incidents x_related_changes
##  #MULTIVALUE: 272     Min.   : 1.000      Min.   :1.000    
##  #N/B       :  12     1st Qu.: 1.000      1st Qu.:1.000    
##  SD0000031  :   1     Median : 1.000      Median :1.000    
##  SD0000076  :   1     Mean   : 1.495      Mean   :1.063    
##  SD0000099  :   1     3rd Qu.: 1.000      3rd Qu.:1.000    
##  SD0000134  :   1     Max.   :16.000      Max.   :2.000    
##  (Other)    :3712     NA's   :3897        NA's   :3937     
##      related_change    ci_name_cby           ci_type_cby  
##  C00003013  :  14   SUB000456: 256   application   :2518  
##  C00014762  :   9   SBA000263: 201   subapplication: 672  
##  C00000713  :   5   SSW000101: 183   computer      : 296  
##  #MULTIVALUE:   4   SBA000462: 142   software      : 206  
##  C00007015  :   2   SBA000607: 142   storage       :  95  
##  (Other)    :  29   (Other)  :2973   (Other)       : 110  
##  NA's       :3937   NA's     : 103   NA's          : 103  
##                   ci_subtype_cby servicecomp_wbs_cby
##  Server Based Application:1436   WBS000073:1136     
##  Web Based Application   :1243   WBS000072: 201     
##  Desktop Application     : 300   WBS000091: 200     
##  System Software         : 201   WBS000263: 158     
##  Laptop                  : 155   WBS000128: 104     
##  (Other)                 : 562   (Other)  :1892     
##  NA's                    : 103   NA's     : 309

BPIC15 1

Dataset originating of the BPI Challenge 2015, organized by the BPI Workshop.

BPIC15_1 %>%
    summary
## Number of events:  52217
## Number of cases:  1199
## Number of traces:  1099
## Number of distinct activities:  398
## Average trace length:  43.55046
## 
## Start eventlog:  2010-10-04 22:00:00
## End eventlog:  2015-07-31 22:00:00
##  case_concept.name  event_question     event_dateFinished
##  Length:52217       Length:52217       Length:52217      
##  Class :character   Class :character   Class :character  
##  Mode  :character   Mode  :character   Mode  :character  
##                                                          
##                                                          
##                                                          
##  event_dueDate      event_action_code  event_activityNameEN
##  Length:52217       Length:52217       Length:52217        
##  Class :character   Class :character   Class :character    
##  Mode  :character   Mode  :character   Mode  :character    
##                                                            
##                                                            
##                                                            
##  event_planned      event_time.timestamp          event_monitoringResource
##  Length:52217       Min.   :2010-10-04 22:00:00   Length:52217            
##  Class :character   1st Qu.:2011-11-07 09:32:10   Class :character        
##  Mode  :character   Median :2012-11-19 08:25:49   Mode  :character        
##                     Mean   :2012-12-12 19:44:44                           
##                     3rd Qu.:2014-01-15 23:00:00                           
##                     Max.   :2015-07-31 22:00:00                           
##  event_org.resource event_activityNameNL event_concept.name
##  Length:52217       Length:52217         Length:52217      
##  Class :character   Class :character     Class :character  
##  Mode  :character   Mode  :character     Mode  :character  
##                                                            
##                                                            
##                                                            
##  event_lifecycle.transition event_dateStop     activity_instance
##  Length:52217               Length:52217       Min.   :    1    
##  Class :character           Class :character   1st Qu.:13055    
##  Mode  :character           Mode  :character   Median :26109    
##                                                Mean   :26109    
##                                                3rd Qu.:39163    
##                                                Max.   :52217