write_wp: Save dataframe as both .csv and .xlsx

View source: R/write_wp.R

write_wpR Documentation

Save dataframe as both .csv and .xlsx

Description

Convenience function to save a dataframe as both .csv and .xlsx. Useful when working with others who prefer .xlsx.

Usage

write_wp(data, path)

Arguments

data

Dataframe to write to disk.

path

Path at which to save file. Note that if file extension is specified, it will be stripped.

Examples

write_wp(mtcars, "data.csv")

wepelham3/sack2 documentation built on Aug. 5, 2023, 5:53 a.m.