R/prettyNames.R

Defines functions prettyNames

Documented in prettyNames

#' prettyNames
#'
#' This function takes a tibble and converts to Big Camel
#'
#' @param input
#'
#' @return
#' @export
#'
#' @examples
prettyNames <- function(input) {
  stopifnot(is.data.frame(input))
  input %>%
    rename_all(snakecase::to_any_case, case = 'big_camel', sep_out = ' ')
}
jimmyg3g/myfirstpackage documentation built on Nov. 16, 2020, 1:43 p.m.