fetch_officer_object | R Documentation |
If you need modify the onbrand report object directly with officer functions you can use this function to extract the report object from the onbrand object.
fetch_officer_object(obnd, verbose = TRUE)
obnd |
onbrand report 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. |
List with the following elements
isgood: Boolean variable indicating success or failure
rpt: Officer object
msgs: Vector of messages
set_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"))
rpt = fetch_officer_object(obnd)$rpt
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.