Crunch objects generally keep themselves in sync with the server when you manipulate them, but some operations cause the local version to diverge from the version on the server. For instance, someone else may have modified the dataset you're working on, or maybe you have modified a variable outside of the context of its dataset. refresh() allows you to get back in sync.

refresh(x)

# S4 method for CrunchDataset
refresh(x)

# S4 method for ShojiObject
refresh(x)

# S4 method for CrunchVariable
refresh(x)

Arguments

x

pretty much any Crunch object

Value

a new version of x