Crunch datasets can be saved and restored using saveVersion and restoreVersion(). Some Crunch functions, such as appendDataset() create new savepoints automatically. To see the list of savepoints use versions().

saveVersion(
  dataset,
  description = paste("Version", length(versions(dataset)) + 1)
)

Arguments

dataset

a CrunchDataset

description

character name to give the saved version, as in a commit message. You are encouraged, though not strictly required, to give versions unique descriptions.

Value

invisibly, the URL of the newly created version