This function operates as an tidyverse style version of class()
function.
get_var_types(.data)
.data | tibble data to be used |
---|
returns a tibble with two character columns: variable and class. variable tells the variable name and class tells the class of that variable.
Other help functions:
get_classification_name()
,
get_na_vars()
,
left_join_replace_na()
,
make_regex()
,
replace_na_by_type()
if (FALSE) { get_var_types(sample_cohort) }