LABEL CATEGORIES command
See Crunch Automation basics for more information.
The LABEL CATEGORIES command allows you to change the labels of categories on categorical variables and categorical arrays.
When used on multiple variables, all the variables should have the exact same categories (in number and codes).
You have the option to specify the category to change by its id (code) or the category label ("label"). On categorical variables, the id is not the same as the numeric values assigned to each category. If you are unsure about the id, then you can refer to the label.
If you want to change the names of subvariables of a multiple response variable or an array, then you need to use the CHANGE LABELS command.
LABEL CATEGORIES alias, ..., alias WITH code|"label" AS "string", ..., code|"label" AS "string";
In the following example variable, we can change the labels to something more descriptive on a categorical variable:
LABEL CATEGORIES q7 WITH 1 AS "Natural - any cost", 2 AS "Natural - no cost", 3 AS "Don’t like natural";
We can also apply changes to a categorical array:
LABEL CATEGORIES q7a WITH “Neither like nor dislike” AS "Neutral”;