This function operates as an tidyverse style version of class() function.

get_var_types(.data)

Arguments

.data

tibble data to be used

Value

returns a tibble with two character columns: variable and class. variable tells the variable name and class tells the class of that variable.

See also

Examples

if (FALSE) { get_var_types(sample_cohort) }