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, ...)
An object of class CrunchDataset.
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".
newDataset()