Learn R Programming

crunch (version 1.30.4)

restoreVersion: Restore a dataset to a previously saved version

Description

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.

Usage

restoreVersion(dataset, version)

Value

dataset, rolled back to version.

Arguments

dataset

a CrunchDataset

version

either the name ("description") of the version to restore to or the integer index of the version, as given by versions(dataset)

See Also

versions saveVersion