Skip to contents

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

Examples

if (FALSE) { # \dontrun{
# 1. Delete dataset
cto_dataset_delete(id = "hh_data")

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