Create a dataframe of steps and factor levels in the study workflow to facilitate label replacement
Source:R/get_pretty_labels_template.R
get_pretty_labels_template.Rd
Generate a dataframe describing the steps and factor levels in the study workflow to assist in setting pretty labels for each step and factor level.
Value
A data frame with on row for each step in the study and one row for each factor level at each step. The data frame has these columns:
variable - the factor for this level
row_type - a character string indicating if this row describes a step of the factor values on that step
plain_label - the existing label derived from the step or its factor level
pretty_label - the pretty label to use in place of label