This function is superseded. For new code we recommend using activitylog() to create an activitylog, and if needed to_eventlog() to transform it into an eventlog.
activities_to_eventlog(
activity_log,
case_id,
activity_id,
resource_id,
timestamps,
order = "auto"
)
A data.frame where each row is an activity instances
Column name of the case identifier
Column name of the activity identifier
Column name of the resource identifier
A vector of column names containing different timestamp. To column names will be transformed to lifecycle identifiers
Configure how to handle sort events with equal timestamps: auto will use the order in the original data, alphabetical will sort the activity labels by alphabet, sorted will assume that the data frame is already correctly sorted and has a column '.order', providing a column name will use this column for ordering (can be numeric of character). The latter will never overrule timestamp orderings.