Vorschlag: questions.csv
afuetterer opened this issue · 0 comments
afuetterer commented
Datei: questions.csv
Die Datei questions.csv
soll folgende Spalten enthalten:
study, instrument, name, ...
Beispiel
study | instrument | name |
---|---|---|
soep-core | soep-core-2017-e1 | 1 |
Regel-Vorschlag
data-specification/ddionrails_datapackage/datapackage/resources/questions.yml
Lines 1 to 53 in d6ca7b7
# Tabular Data Resource: Questions | |
# -------------------------------- | |
# Required Properties | |
name: questions | |
path: questions.csv | |
# Optional Properties | |
title: Questions | |
description: A description about the questions.csv file | |
# Field Descriptors | |
# https://frictionlessdata.io/specs/table-schema/ | |
schema: | |
fields: | |
- name: study | |
title: Foreign key to Study | |
type: string | |
format: default | |
constraints: | |
required: true | |
maxLength: 255 | |
- name: instrument | |
title: Foreign key to Instrument | |
type: string | |
format: default | |
constraints: | |
required: true | |
maxLength: 255 | |
- name: name | |
title: Name of the Question | |
type: string | |
format: default | |
constraints: | |
required: true | |
maxLength: 255 | |
# TODO | |
# - scale | |
# - text | |
# - text_de | |
# - instruction | |
# - instruction_de | |
# - answer_list | |
# TODO: What else? | |
primaryKey: | |
- study | |
- instrument | |
- name |