use_param_report_template | R Documentation |
Parameterized reports allow to create reports in a loop. Examples might be site specific quality reports or recruitment reports.
use_param_report_template(save_as, open = TRUE, ...)
save_as |
filename to save the files as (do not include extension as multiple files are created) |
open |
logical indicating whether to open the file |
... |
other arguments passed to |
This function creates 2 files as a barebones template for such parameterized
reports. An Rmd file is created (based on the UNIBE template) and an R file
containing a small loop. Currently, the you have to supervise this loop, as
use_ubreportclo
(which relies on usethis::use_template
) will
not overwrite files without being given explicit permission.
saves two files, an Rmd and an R file
# use_param_report_template("param")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.