generate_workbook | R Documentation |
Populate an 'openxlsx' Workbook-class object with content from an
aftable-class object. In turn, the output can be passed to
saveWorkbook
from 'openxlsx'
generate_workbook(aftable)
aftable |
An aftable-class object created using
|
A Workbook-class object.
# Convert an aftable to a Workbook-class object
x <- generate_workbook(demo_aftable)
class(x)
# As above, using a compliant data.frame and the base pipe
y <- demo_df |>
as_aftable() |>
generate_workbook()
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.