Learn R Programming

daqapo (version 0.3.2)

detect_multiregistration: Detect multi-registration

Description

Function detecting multi-registration for the same case or by the same resource at the same point in time

Usage

detect_multiregistration(
  activitylog,
  level_of_aggregation,
  timestamp,
  threshold_in_seconds,
  details,
  filter_condition
)

Value

activitylog containing the rows of the original activity log for which multi-registration is present

Arguments

activitylog

The activity log (renamed/formatted using functions rename_activity_log and convert_timestamp_format)

level_of_aggregation

Level of aggregation at which multi-registration should be detected (either "resource" or "case")

timestamp

Type of timestamp that needs to be taken into account in the analysis (either "start", "complete" or "both")

threshold_in_seconds

Threshold which is applied to determine whether multi-registration occurs (expressed in seconds) (time gaps smaller than threshold are considered as multi-registration)

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

Examples

Run this code
# \donttest{
data("hospital_actlog")
detect_multiregistration(activitylog = hospital_actlog, threshold_in_seconds = 10)
# }

Run the code above in your browser using DataLab