assign_reallocation_to_user: Assign single events to user for reallocation to clusters.

View source: R/clustering.R

assign_reallocation_to_userR Documentation

Assign single events to user for reallocation to clusters.

Description

assign_reallocation_to_user assigns an autodetected cluster to a user for verification.

Usage

assign_reallocation_to_user(
  event_report_id,
  user_id,
  clusterattempt_id,
  allocation_date = as.character(Sys.Date()),
  last_updated = as.character(Sys.time()),
  completed = 0,
  is_corrective = 0
)

Arguments

event_report_id

event_report_id of the single events.

user_id

Id of the user the the cluster is to be assigned to.

allocation_date

Date allocation made (usually today).

last_updated

Date record last updated (usually today).

completed

Is the cluster verification complete (usually 0 i.e. not complete)

is_corrective

Is the cluster reallocation in corrective mode (usually 0 i.e. not in corrective mode). Corrective mode is implemented when reallocation stage takes place after the combination stage has taken place.

clusterattemp_id

Id of the clustering attempt (must match clusteratttempt_id of the allocations).


gidonc/durhamevp documentation built on April 8, 2022, 10:31 a.m.