View source: R/Module_generateReportTemplate.R
generateReportTemplate | R Documentation |
this function creates a basic markdown template after the other functions have been used to calculate metrics, apply the rapid status decision tree, and plot dashboards.
generateReportTemplate(
type = "readme",
file.label = "Report",
files.path,
repo.path = NULL
)
type |
one of "readme" or "quarto". "readme" creates a basic README.md file that will display formatted text including figures when viewed on Github or Gitlab. "quarto" creates a "*.qmd" file as a starting point for a more comprehensive document. |
file.label |
label to be used for markdown file (if type = "quarto") |
files.path |
path to folder with input files and output files. The following files are required: "CU_Specs_LABEL.csv", and a sub folder "Dashboards" with the plots |
repo.path |
if type = "readme", need to provide a path for the repository that the folder with the files (i.e., the part before the files.path argument). For example, if files.path is "OUTPUT", and repo.path is "https://github.com/UserName/RepoName", then the Readmde.md file will look for plots in https://github.com/UserName/RepoName/OUTPUT/Dashboards". |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.