Skip to content

Metadata Import

René Reitmann edited this page May 3, 2021 · 3 revisions

Metadata Import

This page describes all import interfaces of the MDM.

Notice: all upload files have to be encoded in UTF8. At the moment you can only use Chrome and Firefox to upload files (see Discussion Issue 644).

The following metadata imports are available:

Variable Import

For a given DataAcquisitionProject all Variables can be imported. The following example file shows the format of the directory which is accepted as upload: Variable Import File

The directory structure is as follows:

variables
 |--ds1
   |--variableName.json
 |--ds2
   |--variableName.json

Question Import

For a given DataAcquisitionProject all Questions for all Instruments can be imported at once. The following example file shows the format of the directory which is accepted as upload: Question Import File

For each Question there can be many images showing the question in its Questionnaire.

The directory structure is as follows:

questions
|--ins1
   |--1.json
   |--images
      |--1
         |--1.png
         |--1.json
|--ins2
   |--5.json
   |--images
      |--5
         |--5_1.png
         |--5_1.json
         |--5_2.png
         |--5_2.json
         |--5_3.png
         |--5_3.json

The ins 2 Folder has the question 5, where the question has multiple images with different resolutions.

Related Publication Import

Globally (independent of any DataAcquisitionProject) it is possible to import Related Publications by exporting an excel (.xlsx) from Citavi and importing it in our system. The following example file shows the format of the excel file which is accepted as upload: Related Publication Import File

Clone this wiki locally