cto_dataset_delete: Delete or Purge a Dataset

View source: R/cto_dataset_delete.R

cto_dataset_deleteR Documentation

Delete or Purge a Dataset

Description

Functions to permanently remove data from the server.

  • cto_delete_dataset(): Permanently deletes a dataset and all its associated data. This operation cannot be undone

  • cto_purge_dataset(): Removes all records from the dataset but keeps the dataset definition (schema/ID) intact.

Usage

cto_dataset_delete(id)

cto_dataset_purge(id)

Arguments

id

String. The unique identifier of the dataset.

Value

A list confirming the operation status.

See Also

Other Dataset Management Functions: cto_dataset_create(), cto_dataset_download(), cto_dataset_info(), cto_dataset_list()

Examples

## Not run: 
# 1. Delete dataset
cto_dataset_delete(id = "hh_data")

# 2. Purge dataset
cto_dataset_purge(id = "hh_data")

## End(Not run)

ctoclient documentation built on March 28, 2026, 5:07 p.m.