The bupaR package itself contains the basic functionalities for handling event logs. Below you can find a list of all the relevant functions.

Creating event log

Function Description
eventlog Create an event log
ieventlog Create an event log using a user interface
re_map Create an eventlog by applying an existing mapping

Getting meta information

Function Description
activity_id Obtain activity identifier field
activity_instance_id Obtain activity instance field
case_id Obtain case identifier field
mapping Obtain the mapping of an eventlog
lifecycle_id Obtain lifecycle identifier field
timestamp Obtain timestamp field
resource_id Obtain resource identifier field

Getting basic log information

Function Description
activities Construct a list of activities with basic information
cases Construct a list of cases with basic information
durations Compute the throughput time of cases
n_activities Count the number of distinct activities
n_activity_instance Count the number activity instances
n_cases Count the number of cases
n_events Count the number of events
n_resources Count the number of resources
n_traces Count the number of distinct activity sequences
resources Construct a list of resources with basic information
summary Obtain a summary of the event log
traces Construct a list of traces with basic information

Basic subsetting

Function Description
sample_n Sample n cases from the event log
slice Slice events from the event log

Xes interface

Function Description
write_xes Write event log object to XES File
read_xes Read event log object from XES File
(eventlog_from_xes)
read_xes_cases Read case attribute data from XES File
(case_attributes_from_xes)