View source: R/fork-and-merge.R
forkDataset | R Documentation |
Forking a dataset makes a copy of the data that is linked by Crunch's version control system to the original dataset. When you make edits to a fork, users of the original dataset do not see the changes.
forkDataset(dataset, name = defaultForkName(dataset), draft = FALSE, ...)
dataset |
The |
name |
character name to give the fork. If omitted, one will be provided for you |
draft |
logical: Should the dataset be a draft, visible only to
those with edit permissions? Default is |
... |
Additional dataset metadata to provide to the fork |
A common strategy for revising a dataset that has been shared with others is
to fork it,
make changes to the fork, and then merge those changes back into the original
dataset.
This workflow allows you to edit a dataset and review changes before
publishing them, so that you don't accidentally send your clients
incorrect data. For more on this workflow, see
vignette("fork-and-merge", package = "crunch")
.
The new fork, a CrunchDataset
.
mergeFork()
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.