Skip to contents

Formats a string containing the main PEPFAR abbrevation and plain text. The PEPFAR abbreviation is listed first and the plain text in a line below. Used to create the upper portion of the MDB tables.

Usage

format_indicator(x)

Arguments

x

PEPFAR indicator name as an abbreviation and the full definition

Value

html formatted string that can be rendered in gt

See also

Other MDB helper functions: calc_growth(), label_aggregation(), make_achv_shape(), make_chg_shape()

Examples

if (FALSE) {
 format_indicator("HTS_TST Received HIV testing service and results") %>% 
 gt::html() %>%  htmltools::html_print()
 df %>% mutate(indicator2 = format_indicator(indicator2)) }