Learn R Programming

crunch (version 1.30.4)

cleanseBatches: Remove batches from a dataset

Description

Sometimes append operations do not succeed, whether due to conflicts between the two datasets or other server-side issues. Failed appends can leave behind "error" status batch records, which can cause confusion. This function lets you delete batches that don't match the status or statuses you want to keep.

Usage

cleanseBatches(dataset, keep = c("imported", "appended"))

Value

dataset with the specified batches removed.

Arguments

dataset

CrunchDataset

keep

character the statuses that you want to keep. By default, batches that don't have either "imported" or "appended" status will be deleted.