exportCSV: Export a csv

Description Usage Arguments Details Value Examples

View source: R/export.R

Description

Export a csv and return the file path of the exported csv.

Usage

1

Arguments

x

a data frame or tibble to export

file

file or connection to write to

...

arguments to pass to readr::write_csv()

Details

If the file path directory does not exist, the directory is created prior to export.

Value

The file path of the exported csv.

Examples

1
exportCSV(iris, "iris.csv")

jasenfinch/metaboMisc documentation built on Feb. 10, 2022, 4:22 p.m.