Function to create timeline data, to be used in a timevis::timeline()
object.
Usage
get_timeline_data(
  data,
  table_data,
  timeline_cols = c("subject_id", "event_name", "form_repeat", "item_group", "start",
    "group", "end", "title", "className", "id", "order"),
  treatment_label = "💊 Tₓ"
)Arguments
- data
- A list of data frames, with compatible clinical trial data. 
- table_data
- A list of data frames containing clinical trial data in wide format. Created with - create_table().
- timeline_cols
- Character vector with the name of the columns of the output data frame. 
- treatment_label
- Character vector with the label to use for the treatment item in the timeline. 
