clean_indicator | R Documentation |
‘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)
df |
MSD data frame |
indicators with denominator have _D suffix
Other column munging:
clean_agency()
,
clean_column()
,
clean_psnu()
## Not run:
df <- df %>%
filter(indicator == "TX_PVLS",
standardizeddisaggregate %in% c("Total Numerator", "Total Denominator")) %>%
clean_indicator()
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.