assign_article_to_user | R Documentation |
assign_article_to_user
assigns a specific article or set of articles to a specific user or set of users. Other document assignment functions are convenience wrappers around this function with arguments set appropriately.
assign_set
assigns a whole set of articles to a user (articles which are already allocated to a user are not allocated again).
assign_testset_to_user
assigns the test set of articles to a user specified by the user id. Articles which are already allocated to a user are not allocated again.
assign_trainingset_to_user
assigns the training set to user (articles which are already allocated to a user are not allocated again).
assign_initalsets_to_users
assigns the training set and test sets to a user or set of users (articles which are already allocated to a user are not allocated again).
assign_article_to_user( document_id, user_id, allocation_type, allocated_by, allocation_date = as.character(Sys.Date()), status = "NEW", coding_complete = 0 ) assign_set( user_id, set, allocation_type, allocated_by = "assign_set", status = "NEW" ) assign_testset_to_user( user_id, allocation_type = "testing", allocated_by = "assign_testset_to_user" ) assign_trainingset_to_user( user_id, allocation_type = "training", allocated_by = "assign_trainingset_to_user" ) assign_initalsets_to_users(user_ids)
document_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 assigned documents). |
assign_set
: Assign set of articles to user
assign_testset_to_user
: Assigns testset to user or users
assign_trainingset_to_user
: Assigns training set to user
assign_initalsets_to_users
: Assigns training and testset set to user
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.