set_officer_object | R Documentation |
After modifying a report object manually, you can return it to the onbrand object using this function.
set_officer_object(obnd, rpt = NULL, verbose = TRUE)
obnd |
onbrand report object |
rpt |
officer object |
verbose |
Boolean variable when set to TRUE (default) messages will be displayed on the terminal; Messages will be included in the returned onbrand object. |
onbrand object with the report replaced
fetch_officer_object
obnd = read_template(
template = file.path(system.file(package="onbrand"), "templates", "report.pptx"),
mapping = file.path(system.file(package="onbrand"), "templates", "report.yaml"))
# pulling out the report
rpt = fetch_officer_object(obnd)$rpt
# Modifications would be made here with officer directly
# Replacing the report into the onbrand object
obnd = set_officer_object(obnd, rpt)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.