restoreVersion {crunch}R Documentation

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)

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)

Value

dataset, rolled back to version.

See Also

versions saveVersion


[Package crunch version 1.30.4 Index]