Skip to content

Commit

Permalink
Add concepts_questions.csv to specifications
Browse files Browse the repository at this point in the history
  • Loading branch information
hansendx committed Oct 1, 2020
1 parent d0dddfb commit 5d3f9ec
Showing 1 changed file with 46 additions and 0 deletions.
46 changes: 46 additions & 0 deletions ddionrails/datapackage.json
Original file line number Diff line number Diff line change
Expand Up @@ -162,6 +162,52 @@
"mediatype": "text/csv",
"encoding": "utf-8"
},
{
"name": "concepts_questions",
"path": "concepts_questions.csv",
"title": "Concepts",
"description": "A description about the concepts_questions.csv file",
"schema": {
"fields": [
{
"name": "study",
"title": "Foreign key to Study",
"type": "string",
"format": "default",
"constraints": {
"required": true,
"maxLength": 255
}
},
{
"name": "instrument",
"type": "string",
"format": "default",
"constraints": {
"required": true,
"maxLength": 255
}
},
{
"name": "question",
"type": "string",
"format": "default"
},
{
"name": "concept",
"type": "string",
"format": "default"
},
],
"missingValues": [
""
]
},
"profile": "tabular-data-resource",
"format": "csv",
"mediatype": "text/csv",
"encoding": "utf-8"
},
{
"name": "concepts",
"path": "concepts.csv",
Expand Down

0 comments on commit 5d3f9ec

Please sign in to comment.