Skip to contents

Makes a single table of core MDB indicators for all OUs, countries and USAID. Uses fetch_indicators() to filter indicators and resolves known issues as a default. Output from this function feeds into reshape_mdb_df()

Usage

make_mdb_df(df, resolve_issues = T)

Arguments

df

data frame from which MDB tables will be constructed for core indicators

resolve_issues

logical that fetches troublesome mechs and omits them from df

Value

data frame

See also

reshape_mdb_df() to reshape into gt ready data frame; fetch_indicators() to filter indicators

Other data frame munging: collapse_base_tbl(), collapse_vlc_tbl(), make_mdb_tx_df(), reshape_mdb_df(), reshape_mdb_tx_df()

Examples

if (FALSE) {
 mdb_df <- make_mdb_df(ou_im, resolve_issues = F)}