prepareDataForCrunch: Translate a data.frame to Crunch format

Description Usage Arguments Value See Also

View source: R/new-dataset.R

Description

This is called within newDataset to extract the Crunch metadata from the data and to transform the data to match the extracted metadata. You can call this directly in order to tailor the data import flow more finely.

Usage

1

Arguments

data

A data.frame or other rectangular R object

...

additional arguments passed to createDataset. "name" will be required by the Crunch server but is not required by this function.

Value

A data.frame that is a transformation of data suitable for uploading to Crunch, also containing a "metadata" attribute that is the associated Crunch metadata.

See Also

createWithPreparedData writePreparedData


crunch documentation built on Nov. 17, 2017, 4:07 a.m.