Often times we want just want to work with totals when performing an analysis or visualization. This function is a simple filter for Total Numerator and Denominator in a MSD dataframe

pluck_totals(df)

Arguments

df

MER Structured Dataset (MSD) dataframe

Value

MSD with only total numerator and denominator

Examples

if (FALSE) {
df_msd <- read_msd(path)
df_totals <- df_msd %>%
  pluck_totals() %>%
  clean_indicator() %>%
  filter(indicator %in% cascade_ind)
}