DEFINE TAXONOMY command for open ends
The DEFINE TAXONOMY command allows you to create a taxonomy (or code frame), which is a named list of categories that Crunch uses to categorize the responses of a text (open-ended) variable. Once defined, you can apply the taxonomy with the CREATE MATERIAL CATEGORICAL or CREATE MATERIAL MULTIPLE DICHOTOMY commands.
A taxonomy belongs to the project (folder) of the dataset, not to the dataset itself. Any dataset in the same project can use it, from Crunch Automation or the Crunch UI. You can use a taxonomy on a dataset saved in another project in the Crunch UI.
The following arguments are optional:
- DESCRIPTION - A sentence that explains what the category covers
- EXAMPLES - One or more example reasons that belong to the category, separated by commas
- CODE - The code (id) of the category in the variables created from the taxonomy. Codes must be between 1 and 32766 and unique. Set CODE on all the categories or none of them. Without codes, categories are numbered 1, 2, 3, etc.
DEFINE TAXONOMY
MAPPING
DESCRIPTION "text describing the category"
EXAMPLES "examples separated by commas" INTO "category name" CODE [integer]
END
NAME "taxonomy name";Example
DEFINE TAXONOMY
MAPPING
DESCRIPTION "Prices, housing, cost of living" INTO "Cost of Living" CODE 100,
DESCRIPTION "Jobs, wages, the economy in general" INTO "Economy" CODE 200,
EXAMPLES "Border security" INTO "Immigration" CODE 300
END
NAME "Most important issues (coded)";