renderMonthlyReport: renderMonthlyReport

Description Usage Arguments Details Value

View source: R/renderMonthlyReport.R

Description

Automatically generates a Markdown pdf report for a single month.

Usage

1
renderMonthlyReport(settings, monthData, ccg = NULL, gp = NULL)

Arguments

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

Details

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...

Value

The function generates an html file.


muschitiello/Rplp documentation built on June 13, 2020, 10:10 a.m.