Hello, This is basically a question about cleaning up my data: I made a survey where for some of the questions, the answer could be any number of keywords. The informant could be more or less specific to their liking. This was intended to work like tags (they are comma-separated), but we didn't consider that they would still end up in the same column of the output. This means, for example the values for "place of origin" could be as precise as "Hannover, Niedersachsen, Germany, Europe" or "Hannover, Germany", or just "Hannover". All in the same variable! I currently have this variable specified as a string in PSPP, which means each represents a different value for PSPP. I want to achieve an outcome where all these values would read the same, i.e. the region, "Nidersachsen" in this example. Since my sample includes ~360 cases, I'd like to find a way to do this automatically. I might be able to do it in another program like a spreadsheet application or GoogleRefine/OpenRefine, but maybe do you know a way to recode this variable in PSPP? Any suggestions? Regards, Ben
_______________________________________________ Pspp-users mailing list Pspp-users@gnu.org https://lists.gnu.org/mailman/listinfo/pspp-users