Create a supplementary facilities report for a given provider.
make_supplement.RdThis function creates the supplementary report that presents the longitudinal graphs for each indicator for each facility managed by the provider.
Usage
make_supplement(
provider,
config_file = "report_settings.yaml",
optimize = TRUE,
template_dir = "templates/template-files",
static_image_dir = "templates/static-images",
data_dir = "templates/extra_data"
)Arguments
- provider
Name of the provider: Anglicare, BaptistCare, or Scalabrini.
- config_file
Either a character string specifying the path to the YAML configuration file, or a configuration list object.
- optimize
Indicate whether PDF should be optimized (default TRUE)
- template_dir
A character string specifying the directory where report templates and related files are located (defaults to
"templates/template-files").- static_image_dir
A character string specifying the directory where static images to be included in the report are stored (defaults to
"templates/static-images").- data_dir
A character string specifying the directory containing additional data files that might be used in report generation (defaults to
"templates/extra_data").