View source: R/generate_template.R
| generate_template | R Documentation |
Generate a template
generate_template(path, template = c("facade", "table-list"))
path |
A character string specifying the path where the template should be saved. If a directory is provided, the template will be saved with a default name based on the template type. |
template |
A character string specifying the type of template to generate. Options are "facade" for a YAML facade template or "table-list" for an Excel table list template. |
Void. A file path where the template has been saved.
template_path_facade <- tempfile(fileext = ".yaml")
generate_template(template_path_facade, template = "facade")
template_path_table_list <- tempfile(fileext = ".xlsx")
generate_template(template_path_table_list, template = "table-list")
unlink(template_path_facade)
unlink(template_path_table_list)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.