Description Usage Arguments Details Value
View source: R/renderMonthlyReport.R
Automatically generates a Markdown pdf report for a single month.
1 | renderMonthlyReport(settings, monthData, ccg = NULL, gp = NULL)
|
settings |
analysis settings generated with setConfig() |
monthData |
list with all data for month, as returded by monthlyData_import() |
ccg |
In case a focus is neded for a specific CCG, the CCG to run the analysis and the report for. |
gp |
In case a focus is neded for a specific GP, the GP to run the analysis and the report for |
The fucntion generate a monthly report composed of different sections: - Report by Region: summary aggregations at England Level for the selected month. - Analysis by BNF codes: aggregations at BNF Code Level for the selected month. - Cost Summary by CCG: Net Ingredient cost for 1K patiensts in England for the selected month. - Costlier GPs: list of practices who were in the higher end of the distribution of Net Ingredient Cost per 1K patients - Report by CCG (customised section): aggregation for a single CCG, if selected. - Report by GP (customised section): aggregations for a single GP, if selected. If some encoding problem occurs, please set UTF-8 as saving enconding from File/Save with Encoding...
The function generates an html file.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.