Learn R Programming

crunch (version 1.3.2)

delete: Delete a Crunch object from the server

Description

These methods delete entities, notably Datasets and Variables within them, from the server. This action is permanent and cannot be undone, so it should not be done lightly. Consider instead using archive for datasets and hide for variables

Usage

## S3 method for class 'CrunchDataset':
delete(x, confirm = interactive() | is.readonly(x),
  ...)

## S3 method for class 'ShojiObject': delete(x, ...)

## S3 method for class 'ANY': delete(x, ...)

## S3 method for class 'CrunchTeam': delete(x, confirm = interactive(), ...)

## S3 method for class 'CategoricalArrayVariable': delete(x, ...)

Arguments

x
a Crunch object
confirm
logical: should the user be asked to confirm deletion. Option available for datasets and teams only. Default is TRUE if in an interactive session.
...
additional arguments, in the generic

See Also

hide deleteDataset