assign_autocluster_to_user: Assign autodetected cluster to a user.

View source: R/clustering.R

assign_autocluster_to_userR Documentation

Assign autodetected cluster to a user.

Description

assign_autocluster_to_user assigns an autodetected cluster to a user for verification.

Usage

assign_autocluster_to_user(
  autodetected_cluster_id,
  user_id,
  clusterattempt_id,
  allocation_date = as.character(Sys.Date()),
  last_updated = as.character(Sys.time()),
  completed = 0,
  needs_additional_checks = 0
)

Arguments

autodetected_cluster_id

Id of the autodetected cluster (generally newly created).

user_id

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

clusterattempt_id

Id of the attempt at clustering (allows multiple clusterings)

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)

needs_additional_checks

Does the cluster need additional checks (for a new cluster allocation should be zero - may be changed later on the platform as part of the process)


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