-
Notifications
You must be signed in to change notification settings - Fork 2
Formatting Data Files
This page will describes how to generate a data file that are accepted by ITMAT-Broker, e.g. the aggragation of subjects' data. We support two kinds of files, csv & json.
- Define your data fields
Before we adding subjects' data, we need to define the header, i.e., the definition of each field involved in the source data. For example, if there is a field 'age' from the source data, you have to define 'age' in the header.
The header includes a pre-defined field, Eid that refers to the Id of each subject. This field are necessary and could not be omitted or changed (The position of this field differs in csv or json. See below).
For your own fields, please use the following format:
{fieldId}@{timepoint}.{measurement}:{datatype}
, for example, 2@0.1:c represents a field with fieId '2', timepoint '0', measurement '1' and datatype 'c' (categories). Or you can omit the datatype as {fieldId}@{timepoint}.{measurement}
like 1@0.0. In this case, the datatype will be set to 'c' (categories) by default.
- Construction the data files.