Mulai sekarangMulai gratis

Constructing event data objects

Event logs are data frames with additional attributes to specify what the columns mean. For example, which column contains the case ID, and which column specifies when the event happened, etc.

You can create an event log by calling eventlog(), passing the data frame, and passing column names as strings to the other arguments that describe those extra attributes.

Protip: Before you call event log, familiarize yourself with the data frame's columns using str().

The claims data frame is available.

Latihan ini merupakan bagian dari kursus

Business Process Analytics in R

Lihat Kursus

Latihan interaktif langsung praktik

Cobalah latihan ini dengan melengkapi kode contoh ini.

# Look at the structure of claims


# Create an eventlog of claims
claims_log <- eventlog(
  ___,
  case_id = "___",
  activity_id = "___",
  activity_instance_id = "action",
  lifecycle_id = "status",
  timestamp = "___",
  resource_id = "___"
)
Edit dan Jalankan Kode