Skip to contents

Replace plain text labels with pretty labels in participant_level_progress in preparation for creating a gtsummary table.

Usage

get_participant_level_progress_pretty(
  participant_level_progress,
  pretty_labels
)

Arguments

participant_level_progress

A detail dataframe describing the progress of each research participant

pretty_labels

a data like those returned by get_pretty_labels_template(), but with pretty labels in place of the templated values.

Value

a dataframe the same structure as participant_level_progress, but with pretty labels in the data fields in place of the plain labels.

Examples

if (FALSE) { # \dontrun{
  get_participant_level_progress_pretty(
    participant_level_progress,
    pretty_labels
  )
} # }