createWithPreparedData {crunch}R Documentation

Upload a prepared data.frame with metadata to Crunch

Description

If you have manually created a Crunch dataset object with prepareDataForCrunch() this function allows you to upload it to the app.

Usage

createWithPreparedData(data, metadata = attr(data, "metadata"))

Arguments

data

a data.frame that meets the Crunch API specification, as returned by prepareDataForCrunch(), or a character path to a file or URL where such data has been written as CSV.

metadata

list of Crunch metadata that corresponds to data. Default is the "metadata" attribute of data, as returned by prepareDataForCrunch, or a character path to a file where such metadata has been written as JSON.

Value

A CrunchDataset.


[Package crunch version 1.30.4 Index]