Skip to contents

A gt theme to be applied to a reshaped data frame for the creation of MDB tables. The theme formats all columns and rows for the main MDB tables. A different theme exists for the treatment tables as the layout is different.

Usage

mdb_main_theme(df, ...)

Arguments

df

reshape_mdb_df() output

...

dot-dot-dot option to pass additional formatting to gt object

Value

formatted gt object

See also

Other MDB gt themes: mdb_treatment_theme()

Examples

if (FALSE) {
 mdb_df <- make_mdb_df(ou_im, resolve_issues = F)
 mdb_tbl <- reshape_mdb_df(mdb_df)
 mdb_tbl %>% filter(operatingunit == "Zambia") %>% gt(groupname_col = "agency") %>% mdb_main_theme()
 
 }