• Become a Power user Intro to AutoHotkey Intermediate AutoHotkey Intermediate Objects GUIs are Easy w/AutoHotkey Painlessly switch from V1 to V2

Examining SPSS String variables – Flagging and re-coding data

SPSS string

SPSS string search

While not obvious, SPSS has some simple syntax that makes it easy to search through your string variables looking for key words /phrases.  The below syntax is my default go-to when reviewing open-end comments and trying to categorize their response.  The code controls for the case format of the variable as well as for the text you’re looking for.

If INDEX(Upcase(Var),Upcase("spss"))>0 Flag= 1 . 

The video below shows just how easy it is to review open-end – string variables and categorize them.


Comments are closed.