ordinal_label_levels function

Extract labels and levels of ordinal variables in a dataset