Learn R Programming

crunch (version 1.31.0)

deleteDataset: Delete a dataset from the dataset list

Description

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

Usage

deleteDataset(x, ..., project = defaultCrunchProject("./"))

Value

(Invisibly) the API response from deleting the dataset

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()

project

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.

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.