# Code to produce the publication's report and summary word documents
###############################################.
## Packages ----
###############################################.
library(phstemplates)
###############################################.
## Knitting documents ----
###############################################.
# creating publication's report
compile_report(rmd_filename = "markdown/PHS-ACCREDITED-STATS-REPORT.Rmd",
cover_filename = "markdown/phs-accrstats-cover.docx",
filename_out = "markdown/PHS-ACCREDITED-STATS-REPORT.docx",
title = "Hospital Standardised Mortality Ratio",
subtitle = "January 2023 to December 2023",
date = "14 May 2024")
# Creating publication's summary
rmarkdown::render("markdown/PHS-ACCREDITED-STATS-SUMMARY.Rmd")
## END
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.