reassign_article_to_user: Reassign article allocation to a new user.

reassign_article_to_userR Documentation

Reassign article allocation to a new user.

Description

reassign_article_to_user reassigns and otherwise modifies a specific existing document allocation to a specific user, and otherwise modifies the allocation parmeters (updating allocation_type, allocated_by, allocation_date, status and coding_complete fields.

Usage

reassign_article_to_user(
  user_doc_id,
  user_id,
  allocation_type,
  allocated_by,
  allocation_date = as.character(Sys.Date()),
  status = "NEW",
  coding_complete = 0
)

Arguments

user_doc_id

Id of the document to be assigned or a vector of document ids.

user_id

Id of the user the document is to be assigned to or a vector of user ids.

allocation_type

Type of allocation (training, testing, coding, checking, ideal).

allocation_date

Date allocation made (usually today).

status

Status of document coding (generally 'NEW' for newly reassigned documents).


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