collapse_base_tbl: Collapse base MSD down to a desired level for main MDB table

View source: R/collapse_base_tbl.R

collapse_base_tblR Documentation

Collapse base MSD down to a desired level for main MDB table

Description

Helper function to collapse data down by a provided grouping. Used in the creation of the main MDB table.

Usage

collapse_base_tbl(df, indic_list, ...)

Arguments

df

MSD or Genie data frame

indic_list

list of indicators to be filter on

...

dot-dot-dot that can be passed to the group_by step

See Also

collapse_vlc_tbl to see equivalent collapse sequence for VLC/VLCS variables

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


USAID-OHA-SI/selfdestructin5 documentation built on Feb. 23, 2025, 5:08 a.m.