From 5409e2d7659060ecc1a34ea4ff9137140247b90d Mon Sep 17 00:00:00 2001 From: Milan Wiedemann Date: Wed, 2 Oct 2024 13:50:33 +0100 Subject: [PATCH] Add action to render report --- project.yaml | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/project.yaml b/project.yaml index aa353e1..f268724 100644 --- a/project.yaml +++ b/project.yaml @@ -11,4 +11,12 @@ actions: --output output/measures/pf_codes_conditions_measures.csv outputs: moderately_sensitive: - measure: output/measures/pf_codes_conditions_measures.csv \ No newline at end of file + measure: output/measures/pf_codes_conditions_measures.csv + + generate_pf_report: + run: > + r:latest -e 'rmarkdown::render("reports/pharmacy_first_report.Rmd", output_dir = "/workspace/output/reports", knit_root_dir = "/workspace")' + needs: [generate_pf_measures] + outputs: + moderately_sensitive: + report: output/reports/pharmacy_first_report.html \ No newline at end of file