Prepare data: demographics for the static information card
Usage
make_demographic_info(
demo_df,
keep_id = T,
keep_sex = T,
keep_age = T,
keep_dept = T,
keep_admtype = T,
keep_t0 = T,
keep_los = T
)
Arguments
- demo_df
Demographics dataframe
- keep_id
Whether to keep ID. Logical, default is True
- keep_sex
Whether to keep sex. Logical, default is True
- keep_age
Whether to keep age. Logical, default is True
- keep_dept
Whether to keep department. Logical, default is True
- keep_admtype
Whether to keep admission type. Logical, default is True
- keep_t0
Whether to keep T0. Logical, default is True
- keep_los
Whether to keep LOS (length of stay). Logical, default is True