Delete_Groups: Batch Group Deletion

View source: R/tools.R

Delete_GroupsR Documentation

Batch Group Deletion

Description

Allows you to delete a batch of groups, as listed in a table with at least the columns gid and sid

Usage

Delete_Groups(Group_Deletion_Table)

Arguments

Group_Deletion_Table

This should be a data.table that has the columns:

  • sid: the sid of the survey where you want to delete the respective group

  • gid: the gid of the group you would like to delete

This function returns the same table with the added column "group_deleted" that has a TRUE value if successful, and a FALSE if unsuccessful.

Examples

## Not run: 
Delete_Groups(Group_Deletion_Table)

## End(Not run)


bpresentati/surveyR documentation built on March 19, 2022, 3:40 a.m.