to_csv: Export into a csv file with a format csv companions for...

View source: R/to_csv.r

to_csvR Documentation

Export into a csv file with a format csv companions for factors

Description

This functions export a data frame into a csv file with a csv companion file containing formats to properly reimport data into R.

Usage

column_types(data)
to_csv(data, file)

Arguments

data

A data.frame containing data to export

file

Name of the csv file to export to

Value

returns nothing

Author(s)

Charles-Édouard Giguère

Examples

# to_csv(iris,"iris.csv")

giguerch/CUFF documentation built on March 27, 2024, 5:36 p.m.