hsmr_hid | R Documentation |
hsmr_hid
reformats the output from smr_data
and trend_data
in order to fit the template agreed for HID.
It adds variables scot_ratio
, Topic
, Indicator
and Frequency
; and reformats location
, hb
.
Dropping all other variables except the following which are renamed:
hb
, location_name
, deaths
, pred
, pats
,
smr
, crd_rate
, death_scot
, scot_deaths
,
pred_scot
, scot_pats
and st_err
.
hsmr_hid(smr_data, trend_data, end_date)
data |
The input |
Hospital Intelligence Dashboard is a management information system to be interpreted and used nationally by the Scottish Government and locally by NHS Boards and clinicians. It allows comparison of each NHS Boards' performance against the national average, and provides trend analysis to help monitor variation over time for each indicator where appropriate. The data are presented by NHS Board and hospital of treatment.
If the class is not initiated correctly, nothing is returned.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.