Supported data types
You can specify the data type of each column when you import data from a file. The data type you specify dictates how the data is displayed, as well as the filter expressions and actions that are available when viewing and configuring tables, charts, and metrics.
Note
When exporting data from Analytics using the EXPORT command, the data types of the resulting table's columns in the Results app are dictated by the data types of the source table in Analytics.
Selecting data types
During the import process, Results suggests a data type for each column. You can confirm these data types, or if necessary, select a different data type than the process suggests. For example, you can display a number as character data instead of the suggested numeric type.
For more information about importing, see Import data from a file.
Data types
| Data type | Description | Data source | Remarks |
|---|---|---|---|
| Logical | The simplest data type. Logical data expresses a truth value of either true or false. |
|
Logical data type in Analytics |
|
Supported formats:
|
||
| Numeric | Used to represent:
|
|
Example values:
|
| Character | Used to represent strings and stored as plain text |
|
Example values:
URLs are also considered a character type that prepends a value with a given protocol (ex. http://). |
| Date | Used to represent the month, day, and year |
|
Date component of a Datetime field in Analytics |
|
Supported format: YYYY-MM-DD |
||
| Date and Time | Used to represent the month, day, year, hours, minutes, and seconds |
|
Datetime type in Analytics |
|
Supported formats:
You can specify the UTC offset for local time using one of the following formats:
For example, 2017-07-03 23:06:11+05:00 specifies the local time five hours ahead of UTC. This translates to 2017-07-03 18:06:11 UTC. Note If you do not specify a UTC offset when you import data, Results assumes the time zone set in Launchpad is the time zone for the data. The Results app automatically shifts the display of datetime fields to reflect your time zone. For more information, see Working with time zones. |
||
| Time |
Used to represent hours, minutes, and seconds
|
|
Time component of a Datetime field in Analytics Note The Results app does not shift the display of time fields to reflect your time zone. Use the date and time type instead to see your time zone reflected in the data. For more information, see Working with time zones. |
|
Supported formats:
|
||
| File | A Diligent One system data type | File attachment from a questionnaire response | You cannot define fields using the File data type. |