crunch (version 1.27.7)

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

delete(x, ...)

# S4 method for CrunchDataset delete(x, ...)

# S4 method for DatasetTuple delete(x, ...)

# S4 method for CrunchDeck delete(x, ...)

# S4 method for CrunchSlide delete(x, ...)

# S4 method for Multitable delete(x, ...)

# S4 method for CrunchTeam delete(x, ...)

# S4 method for CrunchVariable delete(x, ...)

# S4 method for VariableTuple delete(x, ...)

# S4 method for ShojiFolder delete(x, ...)

# S4 method for ShojiTuple delete(x, ...)

# S4 method for ShojiObject delete(x, ...)

# S4 method for ANY delete(x, ...)

Arguments

x

a Crunch object

...

additional arguments, generally ignored

Details

Deleting requires confirmation. In an interactive session, you will be asked to confirm. To avoid that prompt, or to delete objects from a non-interactive session, wrap the call in with_consent() to give your permission to delete.

See Also

hide() deleteDataset() deleteVariables() deleteSubvariables()