At the moment, I'm recoding my Likert type scales into numeric values. However, I have many items from a number of different scales in this dataset. For example: Q2.1_1: Q2.1_16 is one scale with a Likert scale that has a different key than the other surveys. At the moment, I'm manually entering each recode like this:
final$Q2.1_1rc <- as.numeric(recode(
final$Q2.1_1,
"Very slightly or not at all" = 1,
"A little" = 2,
"Moderately" = 3,
"Quite a bit" = 4,
"Extremely" = 5
))
I then C/P and continue to change the name of variable.. However, I have a large dataset so doing this manually will be cumbersome. Can anyone help me out with a shorter way to code this? Are there packages that help with this? Perhaps a function?
Thanks!