Use only if you're writing a function to create a Crunch dataset from a
custom data structure. If you have a data.frame
, just call
newDataset()
on it.
createDataset(name, body, ..., project = defaultCrunchProject())
character, the name to give the new Crunch dataset. This is required.
list correctly formatted metadata definition for a dataset. See the Crunch API documentation.
additional arguments for the POST to create the dataset, such as "description".
A ProjectFolder
object, string path that could be passed to cd()
relative to the root project, or a URL for a ProjectFolder
. If left empty,
rcrunch will look in envOrOption('crunch.default.project')
and error if nothing
is found.
An object of class CrunchDataset.