Some variables in vdem are categorical and when using vdemdata::vdem are downloaded as numerical.
A function to take a vdem df and label such variables would be very welcome.
See for example the geographic region (e_regiongeo) variable:

And what it looks like in R after using vdem function:

A similar function to what I'm thinking about exists in the EuroStat R package:
https://ropengov.github.io/eurostat/reference/label_eurostat.html
Some variables in vdem are categorical and when using vdemdata::vdem are downloaded as numerical.
A function to take a vdem df and label such variables would be very welcome.
See for example the

geographic region(e_regiongeo) variable:And what it looks like in R after using vdem function:

A similar function to what I'm thinking about exists in the EuroStat R package:
https://ropengov.github.io/eurostat/reference/label_eurostat.html