Learn R Programming

crunch (version 1.3.2)

createDataset: Create an empty dataset

Description

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.

Usage

createDataset(name, useAlias = default.useAlias(), ...)

Arguments

name
character, the name to give the new Crunch dataset. This is required.
useAlias
logical whether variable alias or name should be used as R variable names when the dataset is returned. Default is TRUE, meaning alias. This argument is only relevant for the dataset object that is returned; it has no effect on the contents of the object
...
additional arguments for the POST to create the dataset, such as "description".

Value

  • An object of class CrunchDataset.

See Also

newDataset