`clean_indicator` applies a '_D' suffix to any indicators that are a denominator. This is particularly useful when aggregating data or reshaping.

clean_indicator(df)

Arguments

df

MSD data frame

Value

indicators with denominator have _D suffix

See also

Other column munging: clean_agency(), clean_column(), clean_psnu()

Examples

if (FALSE) { # \dontrun{
df <- df %>%
filter(indicator == "TX_PVLS",
       standardizeddisaggregate %in% c("Total Numerator", "Total Denominator")) %>%
clean_indicator() } # }