Skip to contents

This functions exports the final dataset into an Excel file.

Usage

orbi_export_data_to_excel(
  dataset,
  file,
  dbl_digits = 7,
  int_format = "0",
  dbl_format = sprintf(sprintf("%%.%df", dbl_digits), 0)
)

Arguments

dataset

data frame

file

file path to export the file

dbl_digits

how many digits to show for dbls (all are exported)

int_format

the excel formatting style for integers

dbl_format

the excel formatting style for doubles (created automatically from the dbl_digits parameter)

Value

returns dataset invisibly for use in pipes