This article describes how to view a text variable as categorical.
A Displayr document with one or more text variables
When Displayr loads data from Excel or CSV files, it needs to guess whether a variable containing text responses is an open-ended text question or whether it is categorical data encoded as text. Sometimes it guesses wrong.
To force Displayr to treat a text variable as categorical, select the variable in the Data Sets tree, and then in the Object Inspector change Properties > GENERAL > Structure to Nominal: Mutually exclusive categories.