Learn R Programming

crunch (version 1.30.4)

createWithMetadataAndFile: Make a dataset with metadata and a CSV

Description

This function just takes what you give it and POSTs to Crunch. No validation, no automatic wrapping in the Shoji envelope, etc.

Usage

createWithMetadataAndFile(metadata, file, strict = TRUE)

Value

On success, a new dataset.

Arguments

metadata

a list representation of the dataset's metadata, which will be JSON-serialized and POSTed.

file

a path to a CSV file, optionally zipped, that corresponds to the above metadata.

strict

logical: must the metadata exactly match the data? Default is TRUE.