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(eventdataR)
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 
##  Blood test           : 474   Length:5442        r1:1000  
##  Check-out            : 984   Class :character   r2:1000  
##  Discuss Results      : 990   Mode  :character   r3: 474  
##  MRI SCAN             : 472                      r4: 472  
##  Registration         :1000                      r5: 522  
##  Triage and Assessment:1000                      r6: 990  
##  X-Ray                : 522                      r7: 984  
##  handling_id        registration_type      time                    
##  Length:5442        complete:2721     Min.   :2017-01-02 11:41:53  
##  Class :character   start   :2721     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  
##                                                                    
##      .order    
##  Min.   :   1  
##  1st Qu.:1361  
##  Median :2722  
##  Mean   :2722  
##  3rd Qu.:4082  
##  Max.   :5442  
## 

Real-life data

Sepsis

sepsis
## Log of 15214 events consisting of:
## 846 traces 
## 1050 cases 
## 15214 instances of 16 activities 
## 26 resources 
## Events occurred from 2013-11-07 08:18:29 until 2015-06-05 12:25:11 
##  
## Variables were mapped as follows:
## Case identifier:     case_id 
## Activity identifier:     activity 
## Resource identifier:     resource 
## Activity instance identifier:    activity_instance_id 
## Timestamp:           timestamp 
## Lifecycle transition:        lifecycle 
## 
## # A tibble: 15,214 x 34
##    case_id activity lifecycle resource timestamp             age   crp
##    <chr>   <fct>    <fct>     <fct>    <dttm>              <int> <dbl>
##  1 A       ER Regi~ complete  A        2014-10-22 11:15:41    85    NA
##  2 A       Leucocy~ complete  B        2014-10-22 11:27:00    NA    NA
##  3 A       CRP      complete  B        2014-10-22 11:27:00    NA   210
##  4 A       LacticA~ complete  B        2014-10-22 11:27:00    NA    NA
##  5 A       ER Tria~ complete  C        2014-10-22 11:33:37    NA    NA
##  6 A       ER Seps~ complete  A        2014-10-22 11:34:00    NA    NA
##  7 A       IV Liqu~ complete  A        2014-10-22 14:03:47    NA    NA
##  8 A       IV Anti~ complete  A        2014-10-22 14:03:47    NA    NA
##  9 A       Admissi~ complete  D        2014-10-22 14:13:19    NA    NA
## 10 A       CRP      complete  B        2014-10-24 09:00:00    NA  1090
## # ... with 15,204 more rows, and 27 more variables: diagnose <chr>,
## #   diagnosticartastrup <chr>, diagnosticblood <chr>, diagnosticecg <chr>,
## #   diagnosticic <chr>, diagnosticlacticacid <chr>,
## #   diagnosticliquor <chr>, diagnosticother <chr>, diagnosticsputum <chr>,
## #   diagnosticurinaryculture <chr>, diagnosticurinarysediment <chr>,
## #   diagnosticxthorax <chr>, disfuncorg <chr>, hypotensie <chr>,
## #   hypoxie <chr>, infectionsuspected <chr>, infusion <chr>,
## #   lacticacid <dbl>, leucocytes <chr>, oligurie <chr>,
## #   sirscritheartrate <chr>, sirscritleucos <chr>,
## #   sirscrittachypnea <chr>, sirscrittemperature <chr>,
## #   sirscriteria2ormore <chr>, activity_instance_id <chr>, .order <int>

Hospital Log

hospital
## Log of 150291 events consisting of:
## 981 traces 
## 1143 cases 
## 150291 instances of 624 activities 
## 43 resources 
## Events occurred from 2005-01-03 until 2008-03-20 
##  
## Variables were mapped as follows:
## Case identifier:     case_id 
## Activity identifier:     activity 
## Resource identifier:     group 
## Activity instance identifier:    activity_instance_id 
## Timestamp:           timestamp 
## Lifecycle transition:        lifecycle 
## 
## # A tibble: 150,291 x 98
##    case_id activity lifecycle group timestamp           CASE_age
##    <chr>   <fct>    <fct>     <fct> <dttm>                 <int>
##  1 000000~ 1e cons~ complete  Radi~ 2005-01-03 00:00:00       33
##  2 000000~ adminis~ complete  Radi~ 2005-01-03 00:00:00       33
##  3 000000~ verlosk~ complete  Nurs~ 2005-01-05 00:00:00       33
##  4 000000~ echogra~ complete  Obst~ 2005-01-05 00:00:00       33
##  5 000000~ 1e cons~ complete  Nurs~ 2005-01-05 00:00:00       33
##  6 000000~ adminis~ complete  Nurs~ 2005-01-05 00:00:00       33
##  7 000000~ simulat~ complete  Radi~ 2005-01-24 00:00:00       33
##  8 000000~ behande~ complete  Radi~ 2005-01-31 00:00:00       33
##  9 000000~ telethe~ complete  Radi~ 2005-01-31 00:00:00       33
## 10 000000~ aanname~ complete  Gene~ 2005-02-15 00:00:00       33
## # ... with 150,281 more rows, and 92 more variables: `CASE_age:1` <int>,
## #   `CASE_age:2` <int>, `CASE_age:3` <int>, `CASE_age:4` <int>,
## #   `CASE_age:5` <chr>, CASE_diagnosis <chr>,
## #   CASE_diagnosis_treatment_combination_id <int>,
## #   `CASE_diagnosis_treatment_combination_id:1` <int>,
## #   `CASE_diagnosis_treatment_combination_id:10` <chr>,
## #   `CASE_diagnosis_treatment_combination_id:11` <chr>,
## #   `CASE_diagnosis_treatment_combination_id:12` <chr>,
## #   `CASE_diagnosis_treatment_combination_id:13` <chr>,
## #   `CASE_diagnosis_treatment_combination_id:14` <chr>,
## #   `CASE_diagnosis_treatment_combination_id:15` <chr>,
## #   `CASE_diagnosis_treatment_combination_id:2` <int>,
## #   `CASE_diagnosis_treatment_combination_id:3` <int>,
## #   `CASE_diagnosis_treatment_combination_id:4` <int>,
## #   `CASE_diagnosis_treatment_combination_id:5` <int>,
## #   `CASE_diagnosis_treatment_combination_id:6` <chr>,
## #   `CASE_diagnosis_treatment_combination_id:7` <chr>,
## #   `CASE_diagnosis_treatment_combination_id:8` <chr>,
## #   `CASE_diagnosis_treatment_combination_id:9` <chr>,
## #   CASE_diagnosis_code <chr>, `CASE_diagnosis_code:1` <chr>,
## #   `CASE_diagnosis_code:10` <chr>, `CASE_diagnosis_code:11` <chr>,
## #   `CASE_diagnosis_code:12` <chr>, `CASE_diagnosis_code:13` <chr>,
## #   `CASE_diagnosis_code:14` <chr>, `CASE_diagnosis_code:15` <chr>,
## #   `CASE_diagnosis_code:2` <chr>, `CASE_diagnosis_code:3` <chr>,
## #   `CASE_diagnosis_code:4` <chr>, `CASE_diagnosis_code:5` <int>,
## #   `CASE_diagnosis_code:6` <chr>, `CASE_diagnosis_code:7` <chr>,
## #   `CASE_diagnosis_code:8` <chr>, `CASE_diagnosis_code:9` <chr>,
## #   `CASE_diagnosis:1` <chr>, `CASE_diagnosis:10` <chr>,
## #   `CASE_diagnosis:11` <chr>, `CASE_diagnosis:12` <chr>,
## #   `CASE_diagnosis:13` <chr>, `CASE_diagnosis:14` <chr>,
## #   `CASE_diagnosis:15` <chr>, `CASE_diagnosis:2` <chr>,
## #   `CASE_diagnosis:3` <chr>, `CASE_diagnosis:4` <chr>,
## #   `CASE_diagnosis:5` <chr>, `CASE_diagnosis:6` <chr>,
## #   `CASE_diagnosis:7` <chr>, `CASE_diagnosis:8` <chr>,
## #   `CASE_diagnosis:9` <chr>, CASE_specialism_code <int>,
## #   `CASE_specialism_code:1` <int>, `CASE_specialism_code:10` <chr>,
## #   `CASE_specialism_code:11` <chr>, `CASE_specialism_code:12` <chr>,
## #   `CASE_specialism_code:13` <chr>, `CASE_specialism_code:14` <chr>,
## #   `CASE_specialism_code:15` <chr>, `CASE_specialism_code:2` <int>,
## #   `CASE_specialism_code:3` <int>, `CASE_specialism_code:4` <int>,
## #   `CASE_specialism_code:5` <int>, `CASE_specialism_code:6` <chr>,
## #   `CASE_specialism_code:7` <chr>, `CASE_specialism_code:8` <chr>,
## #   `CASE_specialism_code:9` <chr>, CASE_treatment_code <int>,
## #   `CASE_treatment_code:1` <int>, `CASE_treatment_code:10` <chr>,
## #   `CASE_treatment_code:11` <chr>, `CASE_treatment_code:12` <chr>,
## #   `CASE_treatment_code:13` <chr>, `CASE_treatment_code:14` <chr>,
## #   `CASE_treatment_code:15` <chr>, `CASE_treatment_code:2` <int>,
## #   `CASE_treatment_code:3` <int>, `CASE_treatment_code:4` <int>,
## #   `CASE_treatment_code:5` <int>, `CASE_treatment_code:6` <chr>,
## #   `CASE_treatment_code:7` <chr>, `CASE_treatment_code:8` <chr>,
## #   `CASE_treatment_code:9` <chr>, activity_code <chr>,
## #   number_of_executions <int>, producer_code <chr>, section <chr>,
## #   specialism_code <int>, activity_instance_id <chr>, .order <int>

Hospital Billing

hospital_billing
## Log of 49951 events consisting of:
## 288 traces 
## 10000 cases 
## 49951 instances of 16 activities 
## 566 resources 
## Events occurred from 2012-12-13 10:13:18 until 2015-12-13 13:55:15 
##  
## Variables were mapped as follows:
## Case identifier:     case_id 
## Activity identifier:     activity 
## Resource identifier:     resource 
## Activity instance identifier:    activity_instance_id 
## Timestamp:           timestamp 
## Lifecycle transition:        lifecycle 
## 
## # A tibble: 49,951 x 25
##    case_id activity lifecycle resource timestamp           actorange actred
##    <chr>   <fct>    <fct>     <fct>    <dttm>              <chr>     <chr> 
##  1 A       NEW      complete  ResA     2012-12-16 19:33:10 <NA>      <NA>  
##  2 A       FIN      complete  <NA>     2013-12-15 19:00:37 <NA>      <NA>  
##  3 A       RELEASE  complete  <NA>     2013-12-16 03:53:38 <NA>      <NA>  
##  4 A       CODE OK  complete  <NA>     2013-12-17 12:56:29 false     false 
##  5 A       BILLED   complete  ResB     2013-12-19 03:44:31 <NA>      <NA>  
##  6 B       NEW      complete  ResA     2012-12-16 19:33:50 <NA>      <NA>  
##  7 B       DELETE   complete  ResC     2013-10-19 12:37:05 <NA>      <NA>  
##  8 C       NEW      complete  ResA     2013-01-13 21:04:24 <NA>      <NA>  
##  9 C       FIN      complete  <NA>     2013-04-17 19:59:43 <NA>      <NA>  
## 10 C       RELEASE  complete  <NA>     2013-04-18 02:30:35 <NA>      <NA>  
## # ... with 49,941 more rows, and 18 more variables: blocked <chr>,
## #   casetype <chr>, closecode <chr>, diagnosis <chr>, flaga <chr>,
## #   flagb <chr>, flagc <chr>, flagd <chr>, iscancelled <chr>,
## #   isclosed <chr>, msgcode <chr>, msgcount <int>, msgtype <chr>,
## #   speciality <chr>, state <chr>, version <chr>,
## #   activity_instance_id <chr>, .order <int>

Road Traffic Fine Management

traffic_fines
## Log of 34724 events consisting of:
## 44 traces 
## 10000 cases 
## 34724 instances of 11 activities 
## 16 resources 
## Events occurred from 2006-06-17 until 2012-03-26 
##  
## Variables were mapped as follows:
## Case identifier:     case_id 
## Activity identifier:     activity 
## Resource identifier:     resource 
## Activity instance identifier:    activity_instance_id 
## Timestamp:           timestamp 
## Lifecycle transition:        lifecycle 
## 
## # A tibble: 34,724 x 18
##    case_id activity lifecycle resource timestamp           amount article
##    <chr>   <fct>    <fct>     <fct>    <dttm>               <dbl>   <int>
##  1 A1      Create ~ complete  561      2006-07-24 00:00:00    350     157
##  2 A1      Send Fi~ complete  <NA>     2006-12-05 00:00:00     NA      NA
##  3 A100    Create ~ complete  561      2006-08-02 00:00:00    350     157
##  4 A100    Send Fi~ complete  <NA>     2006-12-12 00:00:00     NA      NA
##  5 A100    Insert ~ complete  <NA>     2007-01-15 00:00:00     NA      NA
##  6 A100    Add pen~ complete  <NA>     2007-03-16 00:00:00    715      NA
##  7 A100    Send fo~ complete  <NA>     2009-03-30 00:00:00     NA      NA
##  8 A10000  Create ~ complete  561      2007-03-09 00:00:00    360     157
##  9 A10000  Send Fi~ complete  <NA>     2007-07-17 00:00:00     NA      NA
## 10 A10000  Insert ~ complete  <NA>     2007-08-02 00:00:00     NA      NA
## # ... with 34,714 more rows, and 11 more variables: dismissal <chr>,
## #   expense <dbl>, lastsent <chr>, matricola <chr>,
## #   notificationtype <chr>, paymentamount <dbl>, points <int>,
## #   totalpaymentamount <chr>, vehicleclass <chr>,
## #   activity_instance_id <chr>, .order <int>