You can save a version of a dataset using saveVersion()
.
Savepoints are also created automatically by
certain Crunch functions that make major changes to the dataset. You can
get the list of saved versions with the versions()
function.
restoreVersion(dataset, version)
a CrunchDataset
either the name ("description") of the version to restore to
or the integer index of the version, as given by versions(dataset)
dataset
, rolled back to version
.