deleteDataset: Delete a dataset from the dataset list

View source: R/delete.R

deleteDatasetR Documentation

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("./"))

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.

Value

(Invisibly) the API response from deleting the dataset

See Also

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


Crunch-io/rcrunch documentation built on Feb. 14, 2025, 3:14 a.m.