Takes a tibble or dataframe variable and saves it out as an Excel file using the variable name as the filename.

write_excel(
  variable,
  output_dir = dir_data_out(),
  should_timestamp_output_files = FALSE
)

Arguments

variable

A tibble or dataframe object.

output_dir

The directory to save the file out to.

should_timestamp_output_files

Either TRUE, FALSE, or pulled from the environment if set.

Value

No return value, called for side effects