Aan de slagGa gratis aan de slag

Creating the event log

The final hurdle before we can start the analysis is to create the event log object.

Deze oefening maakt deel uit van de cursus

Business Process Analytics in R

Cursus bekijken

Oefeninstructies

  • To create a case_id, paste() together the combination of quotation_id and sales_order_id.
  • Use eventlog() to map the variables onto event data components.

Praktische interactieve oefening

Probeer deze oefening eens door deze voorbeeldcode in te vullen.

# Create the eventlog object 
otc_event_log <- otc %>%
  mutate(case_id = paste(___  , sep = "-")) %>%
  eventlog(
    case_id = ___,
    activity_id = ___,
    activity_instance_id = ___,
    timestamp = "timestamp",
    resource_id = "resource",
    lifecycle_id = "lifecycle"
  )
Code bewerken en uitvoeren