Skip to main content

event_timestamp_histogram

process_mining::analysis::case_centric::event_timestamp_histogram

Functions in this Module(1)

get_event_timestamps

Aggregate event timestamps into a fixed number of bins, grouped by activity.
Events without a valid timestamp are skipped; events without a recognized
activity are counted under "UNKNOWN".
Source
fn get_event_timestamps(log*: EventLog, options: EventTimestampOptions)AggregatedEventTimestamps

Arguments

Returns

import r4pm
log = r4pm.import_item('EventLog','path/to/file')
# Optional argument: options, can also be omitted
options = {"activity_key": 'example', "num_bins": 1, "timestamp_key": 'example'}
res = r4pm.bindings.get_event_timestamps(log, options)