Write an R data frame to an Excel blob
Description
Section titled “Description”Converts an R data frame to a Python Polars DataFrame and writes it as an Excel file via a storage handler created by [init_storage_handler()(init_storage_handler/). Excel import requires the Python package xlsxwriter. Install it with: setup_containerio_python(groups = 'excel') or reticulate::py_install("xlsxwriter") or pip install xlsxwriter.
write_df_to_excel_blob(handler, df, blob_name, ...)Arguments
Section titled “Arguments”| Argument | Description |
|---|---|
handler |
A Python object of class StorageHandler. |
df |
An R data.frame or Python Polars DataFrame. |
blob_name |
The path/name of the blob/file. |
... |
Additional arguments passed to handler$write_excel_blob(). |
Invisibly NULL.
