Skip to contents

Get annual key performance measures including referrals, assessments, treatment completions, recovery rates, and waiting times by organisation

Usage

get_key_measures_annual(periods = NULL, use_cache = TRUE)

Arguments

periods

Character vector, specifying periods (e.g., "2023-24", "2024-25"). If NULL (default), returns all available annual periods

use_cache

Logical, specifying whether to use cached data if available. Default TRUE.

Value

Tibble with key measures data in long format

Details

Raw data is automatically stored in parquet format for efficient compression.

Examples

if (FALSE) { # \dontrun{
# Get all annual periods
key_measures_df <- get_key_measures_annual()

# Get specific annual periods
key_measures_df <- get_key_measures_annual(periods = c("2023-24", "2024-25"))

# Bypass cache to use latest tidying logic
key_measures_df <- get_key_measures_annual(periods = "2023-24", use_cache = FALSE)
} # }