pluck_totals: Filter for Only Totals in MSD

View source: R/pluck_totals.R

pluck_totalsR Documentation

Filter for Only Totals in MSD

Description

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

Usage

pluck_totals(df)

Arguments

df

MER Structured Dataset (MSD) dataframe

Value

MSD with only total numerator and denominator

Examples


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


USAID-OHA-SI/gophr documentation built on Nov. 14, 2024, 8:30 p.m.