How To Find Variable Names

I have to find various variables in the ALLBUS 2018 (a german data record) in my assignment sheet. For example, life satisfaction and for that I should write the command: "VarNames [which (VarLabels == "GENERAL LIFE SATISFACTION")]" but it doesn't work: / There always comes "Error: Object 'VarLabels' not found", maybe someone can help me .

Hello @frizzy,

did you already load the ALLBUS data in your R session? If not try that first. And if you did that, show us how: copy the lines with R-code that you used in a reply.

Regards Han

This topic was automatically closed 21 days after the last reply. New replies are no longer allowed.

If you have a query related to it or one of the replies, start a new topic and refer back with a link.