Learn R Programming

crunch (version 1.14.4)

newDatasetFromFile: Upload a file to Crunch to make a new dataset

Description

Use this import method if you have an SPSS data file. Reading such a file into R as a data.frame will result in lost metadata. You can just send it directly to Crunch and let the server process it.

Usage

newDatasetFromFile(file, name = basename(file), ...)

Arguments

file
character, the path to a file to upload. This should either be a .csv or .sav (SPSS) file.
name
character, the name to give the new Crunch dataset. Default is the file name
...
additional arguments passed to createDataset

Value

On success, an object of class CrunchDataset.