Learn R Programming

crunch (version 1.18.0)

appendDataset: Append one Crunch dataset to another

Description

Append one Crunch dataset to another

Usage

appendDataset(dataset1, dataset2, autorollback = TRUE)

Arguments

dataset1

a CrunchDataset

dataset2

another CrunchDataset, or possibly a data.frame. If dataset2 is not a Crunch dataset, it will be uploaded as a new dataset before appending. If it is a CrunchDataset, it may be subsetted with a filter expression on the rows and a selection of variables on the columns.

autorollback

logical: If the append fails, revert the dataset back to its state before attempting to append? Default is TRUE, and you probably won't want to change that.

Value

dataset1, updated with dataset2, potentially filtered on rows and variables, appended to it.