diff --git a/NEWS.md b/NEWS.md index ca01cc8..6b4d9d7 100644 --- a/NEWS.md +++ b/NEWS.md @@ -1,6 +1,7 @@ # metalite 0.1.3 - `n_subject()` now has a new argument `na` for labeling missing values. +- Add default mapping for subject level analysis. - Update GitHub Actions workflows. # metalite 0.1.2 diff --git a/data-raw/default.R b/data-raw/default.R index 9637ef9..5d5d257 100644 --- a/data-raw/default.R +++ b/data-raw/default.R @@ -34,5 +34,25 @@ default_analysis <- list( name = "ae_forest", label = "Interactive: forest plot for adverse event", title = "Forest plot for Participants With {term1} Adverse Events {term2}" + ), + base_char = adam_mapping( + name = "base_char", + label = "Table: baseline characteristics", + title = "Participant Baseline Characteristics by Treatment Group" + ), + trt_compliance = adam_mapping( + name = "trt_compliance", + label = "Table: treatment compliance", + title = "Summary of Treatment Compliance" + ), + disposition = adam_mapping( + name = "disp", + label = "Table: disposition", + title = "Disposition of Participant" + ), + exp_duration = adam_mapping( + name = "exp_dur", + label = "Table: exposure duration", + title = "Summary of Exposure Duration" ) )