Learn R Programming

crunch (version 1.14.4)

exportDataset: Export a dataset to a file

Description

Export a dataset to a file

Usage

exportDataset(dataset, file, format = c("csv", "spss"), categorical = c("name", "id"), ...)
"write.csv"(...)

Arguments

dataset
CrunchDataset
file
character local filename to write to
format
character export format: currently supported values are "csv" and "spss".
categorical
character: export categorical values to CSV as category "name" (default) or "id". Ignored by the SPSS exporter.
...
additional arguments, currently ignored

Value

Invisibly, file.