This function lets you delete a dataset without first loading it, which is faster.
deleteDataset(x, ..., project = defaultCrunchProject("./"))
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()
ProjectFolder
entity, character name (path) to a project.
Defaults to the project set in envOrOption('crunch.default.project')
or "./" (the project root), if the default is not set.
(Invisibly) the API response from deleting the dataset
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.