Skip to main content
Rust4PM

object_attribute_changes

process_mining::analysis::object_centric::object_attribute_changes

Functions in this Module(1)

get_object_attribute_changes

analysis::object_centric::object_attribute_changesSource

Extract the attribute change history for a specific object.

Returns one trace per attribute, each containing the timestamped values in the order they appear in the log. Returns an error if the object ID is not found.

Arguments
Import from .json, .json.gz, .xml, .xml.gz, .ocel.csv, .ocel.csv.gz, .ocel.zip, .ocel-parquet.zip, .sqlite, .duckdb, .xes, .xes.gz, or pass OCEL or IndexLinkedOCEL (converted automatically)
String
ObjectAttributeChanges

Time-stamped attribute change history for a single OCEL object.

import r4pm

# Also: .json, .json.gz, .xml.gz, .ocel.csv, .ocel.csv.gz, ...
ocel = r4pm.import_item('SlimLinkedOCEL', 'ocel.xml')
res = r4pm.bindings.get_object_attribute_changes(ocel, 'example')