Function for Calculating the Achievable Benchmark of Care aspirational target; which is based on an adjusted performance fraction. The Achievable Benchmark of Care Approach estimates the benchmark based on the top performing records (e.g. clinicians, hospitals) that account for 10% of patients in the data.
✓ Published0🌍 Public
JJustinCally
Last edited Aug 26, 2019
Created on Aug 19, 2019
This example demonstrates how a dplyr workflow can compute the Achievable Benchmark of Care (ABC), an aspirational quality target derived from the top-performing clinicians or hospitals that together cover at least 10% of patients. The ABCBenchmark function uses an adjusted performance fraction to rank records, then calculates cumulative totals and applies a minimum-contribution filter to select the benchmark group. It supports optional grouping by site or region and returns the benchmark as a new column. The code relies on the dplyr and rlang packages for tidy evaluation and piping.
AI-generated description