fix_concat: fix_concat

View source: R/fix_functions.R

fix_concatR Documentation

fix_concat

Description

Fixes concatenated values in a variable

Usage

fix_concat(x, varname, sep = ", |; | ", track = TRUE)

Arguments

x

A data.frame

varname

Variable name

sep

Separator for the different values

track

Track changes?

Examples

mydata <- data.frame(concat=c("a", "b", "a b" , "a b, c", "a; c"),
numeric = c(1, 2, 3, 4, 5))
fix_concat(mydata, "concat")

clickR documentation built on Aug. 8, 2023, 1:11 a.m.