This git repository contains a reusable metric engine for processing NHS Oversight Framework metrics.
The engine was developed using the existng Outcomes Framework metric engine as a foundation and adapted to meet the Oversight Framework's specific data structures, calculation methods and technical requirements.
The engine is metadata-driven, using a central control file to define the downstream processing and calculation logic for each metric.
The project provides a consistent process for:
- importing metric data
- applying metric-specific calculations
- producing standardised outputs
- carrying out data quality checks
- preparing results for reporting and downstream analysis
The engine can process a range of metric types, including:
- counts
- percentages
- proportions
- directly age-standardised rates
- crude rates
- ratios
- percentage changes
- percentage point differences
- Clone the repository
- Open the R project in RStudio
- Update the required input paths and configuration
- Run the main processing script
- Review the generated outputs and DQ checks
This repository is dual licensed under the Open Government v3 & MIT. All code and outputs are subject to Crown Copyright.