Skip to contents

Write data to excel

Usage

writeExcel(data, path, col_names = TRUE)

Arguments

data

Data frame or named list of data frames that will be sheets in the xlsx

path

a file name to write to

col_names

write column names at the top of the file?

Details

Uses writexl::write_xlsx to write data to excel. If the folder does not exist, creates folder(s) recursively.