-
-
Notifications
You must be signed in to change notification settings - Fork 18
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Clean up example data modification #739
Conversation
@@ -778,8 +778,10 @@ template_events_col_by_grade <- function(dataname, | |||
#' @export | |||
#' @examples | |||
#' adsl <- tmc_ex_adsl | |||
#' lbls_adae <- formatters::var_labels(tmc_ex_adae) | |||
#' adae <- tmc_ex_adae %>% | |||
#' dplyr::mutate_if(is.character, as.factor) # be certain of having factors |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
does this step drop labels?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@shajoezhu yes, whenever mutate
is used on a column the label is dropped.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
lgtm! Thanks @edelarua
Also capitalized all module labels.
Closes #735