Orders the factor levels.
dic_order(x, dic, type)
a variable (code or labelled) to get order for.
a type of the x. Could be
A numeric vector of orders.
Some variables, like classifications, have logical or conventional ordering. Eurostat data tables are nor neccessary ordered in this order. The function
dic_order get the ordering from Eurostat classifications dictionaries. The function
label_eurostat can also order factor levels of labels with argument
eu_order = TRUE.
Przemyslaw Biecek, Leo Lahti, Janne Huovari and Markus Kainu