View source: R/util_string_is_not_categorical.R
util_string_is_not_categorical | R Documentation |
The function considers the following properties:
the maximum number of characters (to identify free text fields with long entries),
the relative frequency of punctuation and space characters per element (to identify, e.g., JSON or XML elements, which are structured by those characters),
the relative frequency of elements (categorical variables would have a low proportion of unique values in comparison to other variables).
util_string_is_not_categorical(vec)
vec |
a character vector |
TRUE or FALSE
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.