format_spectrum_total_warning: Format spectrum total warnings

View source: R/warnings.R

format_spectrum_total_warningR Documentation

Format spectrum total warnings

Description

Format warnings with translated key to be displayed when spectrum totals do not match aggregated district level programme data

Usage

format_spectrum_total_warning(data_merged, key, location, age_disag = FALSE)

Arguments

data_merged

Aggregated program data merged with spectrum totals

key

Translation key for warnings

location

Location where warning should be displayed

age_disag

Logical if age should be included in warning labels. Default is FALSE.


mrc-ide/naomi documentation built on April 10, 2024, 2:13 p.m.