infer_level: infer if variable is of type multi-response

infer_levelR Documentation

infer if variable is of type multi-response

Description

infer if variable is of type multi-response

Usage

infer_level(x, split_cutoff = 20, n_un, sep = c(",", ";"))

Arguments

x

variable to be cleaned

split_cutoff

cut-off in percent for minimal entries with multi-responses

n_un

length unique values of x

sep

separators

Details

Multi-response variables defined as strings with where multiple values are separated with comma, semicolon or any other alpha-numeric value indicated in sep argument

Value

list of possible separators


tkimhofer/cleansing documentation built on Oct. 25, 2022, 1:12 a.m.