lock: Lock and unlock a dataset for editing

View source: R/edit-lock.R

lockR Documentation

Lock and unlock a dataset for editing

Description

Crunch allows a single active editor. If you have edit privileges but are not currently editing the dataset, you must unlock the dataset before making changes. You may then lock the dataset when you're done editing.

Usage

lock(dataset)

unlock(dataset)

Arguments

dataset

a CrunchDataset

Value

dataset, invisibly, after having set the current editor.


crunch documentation built on Aug. 31, 2023, 1:07 a.m.