Excel_write_numeric: Write data to spreadsheet *[Experimental]*

View source: R/Excel_write.R

Excel_write_numericR Documentation

Write data to spreadsheet [Experimental]

Description

Quickly write your data into a spreadsheet with auto-filters and all columns formatted as numbers. Currently, this is a very tight definition of a helper function. More flexibility is planned in the future.

Usage

Excel_write_numeric(data)

Arguments

data

a data.frame, a tibble or any other object as defined in ?openxlsx::writeData().

Value

This function is primarily called for its side-effect of writing a file. Returns TRUE if successful, FALSE otherwise.

Author(s)

Harald Kaba (2021)

References

A wrapper around the brilliant R package openxlsx: https://ycphs.github.io/openxlsx/index.html

Examples

## Not run: 
Excel_write_numeric(airquality) # works fine with a data.frame
Excel_write_numeric(WorldPhones) # but ignores row names (e.g. from arrays)
## End(Not run)

rbitrage/HK documentation built on March 20, 2022, 11:40 a.m.