This function lets you delete a dataset without first loading it, which is faster.

deleteDataset(x, ...)

Arguments

x

The name (character) of a dataset, a path to a dataset, or a CrunchDataset. Unless x is a parsed folder path, it can only be of length 1--for your protection, this function is not vectorized.

...

additional parameters passed to delete()

Value

(Invisibly) the API response from deleting the dataset

Details

The function also works on CrunchDataset objects, just like delete(), which may be useful if you have loaded another package that masks the crunch::delete() method.

See also

delete(); cd() for details of parsing and walking dataset folder/project paths.