hsmr_hid: Hospital Intelligence Dashboard.

View source: R/hsmr_hid.R

hsmr_hidR Documentation

Hospital Intelligence Dashboard.

Description

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.

Usage

hsmr_hid(smr_data, trend_data, end_date)

Arguments

data

The input tibble which is the output from smr_data or create_trends.

Details

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.

Value

If the class is not initiated correctly, nothing is returned.


Public-Health-Scotland/hsmr documentation built on June 24, 2024, 1:48 a.m.