Permanently Force a Numeric Attribute to Be Categorical

Top  Previous  Next

How To... > Work with Collections > Control Behavior of Categorical Attributes Using Category Sets > Permanently Force a Numeric Attribute to Be Categorical

If you’ve imported any census microdata, you may have noticed that Census_Year is always treated as a categorical attribute. You can make any numeric attribute act the same way by assigning a category set to it (see Attributes with Category Sets).

_img128

1.In the Cases panel of the collection’s inspector, click Show Details.
2.Select an attribute and choose Generate From Values from the Set pop-up menu.

If you don’t like the order in which the categories appear in graphs and summary tables, you can Reorder Categories in a Category Set by dragging categories in a bar chart, or by editing the category set in the Categories panel of the inspector.