Skip to content

Metadata Import

Elias edited this page Nov 28, 2023 · 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

Steps to import:

  1. Login as a user that is equipped with the Publisher role
  2. Select the "Provide Data" tab
  3. Select the "Publications" tab
  4. Click on the upload icon in the lower right corner (Note: this button is hidden if a project has been selected in the sidebar beforehand)
Bildschirmfoto 2023-11-20 um 15 00 49