Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

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

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.

Value

dataset with the specified batches removed.


crunch

Crunch.io Data Tools

v1.28.0
LGPL (>= 3)
Authors
Greg Freedman Ellis [aut, cre], Jonathan Keane [aut], Mike Malecki [aut], Neal Richardson [aut], Gordon Shotwell [aut]
Initial release

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.