Skip to content

Formatting Data Files

wsy19961129 edited this page May 31, 2020 · 3 revisions

Formatting a data file to be uploaded to ITMAT-Broker.

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.
Clone this wiki locally