detect_incomplete_cases {daqapo}R Documentation

Detect incomplete cases

Description

Function detecting incomplete cases in terms of the activities that need to be recorded for a case. The function only checks the presence of activities, not the completeness of the rows describing the activity executions.

Usage

detect_incomplete_cases(activitylog, activities, details, filter_condition)

Arguments

activitylog

The activity log

activities

A vector of activity names which should be present for a case

details

Boolean indicating wheter details of the results need to be shown

filter_condition

Condition that is used to extract a subset of the activity log prior to the application of the function

Value

tbl_df providing an overview of the traces (i.e. the activities executed for a particular case) in which the specified activities are not present, together with its occurrence frequency and cases having this trace

Examples


data("hospital_actlog")
detect_incomplete_cases(activitylog = hospital_actlog,
     activities = c("Registration","Triage","Clinical exam","Treatment","Treatment evaluation"))


[Package daqapo version 0.3.2 Index]