createWithMetadataAndFile: Make a dataset with metadata and a CSV

View source: R/new-dataset.R

createWithMetadataAndFileR Documentation

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)

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.

Value

On success, a new dataset.


Crunch-io/rcrunch documentation built on April 1, 2024, 1:14 a.m.