View source: R/mdb_main_theme.R
mdb_main_theme | R Documentation |
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.
mdb_main_theme(df, ...)
df |
|
... |
dot-dot-dot option to pass additional formatting to gt object |
formatted gt object
Other MDB gt themes:
mdb_treatment_theme()
## Not run:
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()
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.