Skip to content

aggregate all $$.csv in subfolder during import

Created by: kwenzig

Experience shows, that e.g. a questions.csv-file containing more than one CATI-questionnaire gets very difficult to handle. Therefore a folder structure has been proven to regain the overview:

  • questionnaires
    • questionnaire.id1
      • answers.csv
      • questions.csv
      • logical_variables.csv
    • questionnaire.id1
      • answers.csv
      • questions.csv
      • logical_variables.csv etc.

The same holds true for datasets:

  • datasets
    • name.dataset1
      • codebook.csv
      • generations.csv
      • variables.csv

It is possibly not a good idea to define a specific structure but the import-process should aggeregate e.g. all questions.csv-Files in all subfolders.