clean_workbook_list | R Documentation |
The clean_workbook functions exports a list or a dataframe/tibble to nice xlsx file using openxlsx.
clean_workbook_list()
takes a named_list as main arg and writes a xlsx file where each list item is a tab.
clean_workbook_df()
takes a dataframe as main arg and writes a single-tabbed xlsx file.
clean_workbook_list(
named_list,
path,
col_width = 15,
max_width = 60,
font_name = "Leelawadee",
font_size = 10,
table_style = "TablestyleMedium10"
)
clean_workbook_df(
df,
name,
path,
col_width = 15,
max_width = 60,
font_name = "Leelawadee",
font_size = 10,
table_style = "TablestyleMedium10"
)
named_list |
A named list of tibbles/dataframes. |
path |
A full full or relative path that includes file name. |
col_width |
Minimum column width. Default to 15. |
max_width |
Maximum column width. Default to 60. |
font_name |
Font name. Default to "Leelawadee". |
font_size |
Font size. Default to 10. |
table_style |
Excel table style. Default to "TablestyleMedium10". |
df |
Dataframe to export |
name |
Character string if the spreadsheet name |
A written xlsx file
clean_workbook_list()
: Export a clean workbook from a named list of dataframes
clean_workbook_df()
: Export a clean workbook from a single dataframe
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.