#' function for fix names in get_report
#'
#' @param x character, column names
#'
#' @return new columns names
#'
gads_fix_names <- function(x) {
out <- str_remove(str_to_lower(x), 'metrics\\_|segments\\_')
return(out)
}
gads_fix_names_regexp <- function(x, regexp = 'metrics\\_|segments\\_') {
out <- str_remove(str_to_lower(x), regexp)
return(out)
}
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.