clean_variable_column: Function to clean variable strings contained in a column

View source: R/clean_variable_names.R

clean_variable_columnR Documentation

Function to clean variable strings contained in a column

Description

Function to clean variable strings contained in a column

Usage

df 
     mutate(variable = clean_variable_column(variable, join_by = c("variable" = "variable_lookup"))

Arguments

x

vector of names to clean

lookup_table

A look-up table to be used for cleaning names

join_by

Joining key in look-up table

Value

Tibble

Author(s)

Shona Wilde


shonawilde/shonarrr documentation built on Jan. 29, 2025, 1:27 a.m.