Skip to content

Commit

Permalink
add participants.json with Levels as objects (#413)
Browse files Browse the repository at this point in the history
* add participants.json

* Add TermURLs

* some fixes

---------

Co-authored-by: Stefan Appelhoff <stefan.appelhoff@mailbox.org>
Co-authored-by: Sebastian Urchs <surchs@users.noreply.github.com>
  • Loading branch information
3 people authored Nov 3, 2023
1 parent 633d964 commit b6e5234
Show file tree
Hide file tree
Showing 11 changed files with 291 additions and 0 deletions.
21 changes: 21 additions & 0 deletions 7t_trt/participants.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
{
"sex": {
"LongName": "sex",
"Description": "String value indicating phenotypical sex.",
"TermURL": "http://purl.obolibrary.org/obo/PATO_0001894",
"Levels": {
"F": {
"Description": "Female",
"TermURL": "http://purl.obolibrary.org/obo/PATO_0000383"
},
"M": {
"Description": "Male",
"TermURL": "http://purl.obolibrary.org/obo/PATO_0000384"
}
}
},
"age_at_first_scan_years": {
"LongName": "age_at_first_scan_years",
"Units": "years"
}
}
34 changes: 34 additions & 0 deletions ds000117/participants.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
{
"age": {
"LongName": "age",
"Units": "year",
"TermURL": "http://purl.obolibrary.org/obo/PATO_0000011"
},
"sex": {
"LongName": "sex",
"Description": "String value indicating phenotypical sex.",
"TermURL": "http://purl.obolibrary.org/obo/PATO_0001894",
"Levels": {
"F": {
"Description": "Female",
"TermURL": "http://purl.obolibrary.org/obo/PATO_0000383"
},
"M": {
"Description": "Male",
"TermURL": "http://purl.obolibrary.org/obo/PATO_0000384"
}
}
},
"first_ses": {
"LongName": "first session",
"Description": "Indicates which session was the first session for this subject.",
"Levels": {
"meg": {
"Description": "meg was the first session"
},
"mri": {
"Description": "mri was the first session"
}
}
}
}
22 changes: 22 additions & 0 deletions ds008/participants.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
{
"sex": {
"LongName": "sex",
"Description": "String value indicating phenotypical sex.",
"TermURL": "http://purl.obolibrary.org/obo/PATO_0001894",
"Levels": {
"F": {
"Description": "Female",
"TermURL": "http://purl.obolibrary.org/obo/PATO_0000383"
},
"M": {
"Description": "Male",
"TermURL": "http://purl.obolibrary.org/obo/PATO_0000384"
}
}
},
"age": {
"LongName": "age",
"Units": "year",
"TermURL": "http://purl.obolibrary.org/obo/PATO_0000011"
}
}
21 changes: 21 additions & 0 deletions ds009/participants.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
{
"Age": {
"LongName": "Age",
"Units": "years",
"TermURL": "http://purl.obolibrary.org/obo/PATO_0000011"
},
"Gender": {
"LongName": "Gender",
"TermURL": "https://schema.org/gender",
"Levels": {
"F": {
"Description": "Female",
"TermURL": "https://schema.org/Female"
},
"M": {
"Description": "Male",
"TermURL": "https://schema.org/Male"
}
}
}
}
22 changes: 22 additions & 0 deletions ds101/participants.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
{
"sex": {
"LongName": "sex",
"Description": "String value indicating phenotypical sex.",
"TermURL": "http://purl.obolibrary.org/obo/PATO_0001894",
"Levels": {
"F": {
"Description": "Female",
"TermURL": "http://purl.obolibrary.org/obo/PATO_0000383"
},
"M": {
"Description": "Male",
"TermURL": "http://purl.obolibrary.org/obo/PATO_0000384"
}
}
},
"age": {
"LongName": "age",
"Units": "year",
"TermURL": "http://purl.obolibrary.org/obo/PATO_0000011"
}
}
25 changes: 25 additions & 0 deletions ds102/participants.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
{
"sex": {
"LongName": "sex",
"Description": "String value indicating phenotypical sex.",
"TermURL": "http://purl.obolibrary.org/obo/PATO_0001894",
"Levels": {
"D": {
"Description": "D"
},
"F": {
"Description": "Female",
"TermURL": "http://purl.obolibrary.org/obo/PATO_0000383"
},
"M": {
"Description": "Male",
"TermURL": "http://purl.obolibrary.org/obo/PATO_0000384"
}
}
},
"age": {
"LongName": "age",
"Units": "year",
"TermURL": "http://purl.obolibrary.org/obo/PATO_0000011"
}
}
22 changes: 22 additions & 0 deletions ds108/participants.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
{
"sex": {
"LongName": "sex",
"Description": "String value indicating phenotypical sex.",
"TermURL": "http://purl.obolibrary.org/obo/PATO_0001894",
"Levels": {
"F": {
"Description": "Female",
"TermURL": "http://purl.obolibrary.org/obo/PATO_0000383"
},
"M": {
"Description": "Male",
"TermURL": "http://purl.obolibrary.org/obo/PATO_0000384"
}
}
},
"age": {
"LongName": "age",
"Units": "year",
"TermURL": "http://purl.obolibrary.org/obo/PATO_0000011"
}
}
22 changes: 22 additions & 0 deletions ds110/participants.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
{
"sex": {
"LongName": "sex",
"Description": "String value indicating phenotypical sex.",
"TermURL": "http://purl.obolibrary.org/obo/PATO_0001894",
"Levels": {
"F": {
"Description": "Female",
"TermURL": "http://purl.obolibrary.org/obo/PATO_0000383"
},
"M": {
"Description": "Male",
"TermURL": "http://purl.obolibrary.org/obo/PATO_0000384"
}
}
},
"age": {
"LongName": "age",
"Units": "year",
"TermURL": "http://purl.obolibrary.org/obo/PATO_0000011"
}
}
15 changes: 15 additions & 0 deletions ds114/participants.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
{
"dominant_hand": {
"LongName": "dominant_hand",
"Levels": {
"left": {
"Description": "left",
"TermURL": "http://purl.bioontology.org/ontology/SNOMEDCT/87683000"
},
"right": {
"Description": "right",
"TermURL": "http://purl.bioontology.org/ontology/SNOMEDCT/46669005"
}
}
}
}
65 changes: 65 additions & 0 deletions ds116/participants.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,65 @@
{
"sex": {
"LongName": "sex",
"Description": "String value indicating phenotypical sex.",
"TermURL": "http://purl.obolibrary.org/obo/PATO_0001894",
"Levels": {
"F": {
"Description": "Female",
"TermURL": "http://purl.obolibrary.org/obo/PATO_0000383"
},
"M": {
"Description": "Male",
"TermURL": "http://purl.obolibrary.org/obo/PATO_0000384"
}
}
},
"age": {
"LongName": "age",
"Units": "year",
"TermURL": "http://purl.obolibrary.org/obo/PATO_0000011"
},
"handedness": {
"LongName": "handedness",
"Description": "String value indicating handedness",
"TermURL": "http://purl.bioontology.org/ontology/SNOMEDCT/57427004",
"Levels": {
"L": {
"Description": "Left",
"TermURL": "http://purl.bioontology.org/ontology/SNOMEDCT/87683000"
},
"R": {
"Description": "Right",
"TermURL": "http://purl.bioontology.org/ontology/SNOMEDCT/46669005"
}
}
},
"ethnicity": {
"LongName": "ethnicity",
"TermURL": "http://purl.obolibrary.org/obo/HANCESTRO_0004",
"Levels": {
"Asian": {
"Description": "Asian",
"TermURL": "http://purl.obolibrary.org/obo/HANCESTRO_0008"
},
"Asian/Caucasian": {
"Description": "Asian Caucasian"
},
"Caucasian": {
"Description": "Caucasian",
"TermURL": "http://purl.obolibrary.org/obo/HANCESTRO_0005"
},
"Caucasian/African/NativeSouthAmerican": {
"Description": "Caucasian African NativeSouthAmerican"
},
"Hispanic": {
"Description": "Hispanic",
"TermURL": "http://purl.obolibrary.org/obo/HANCESTRO_0014"
},
"MiddleEastern": {
"Description": "MiddleEastern",
"TermURL": "http://purl.obolibrary.org/obo/HANCESTRO_0015"
}
}
}
}
22 changes: 22 additions & 0 deletions eeg_ds000117/participants.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
{
"age": {
"LongName": "age",
"Units": "year",
"TermURL": "http://purl.obolibrary.org/obo/PATO_0000011"
},
"sex": {
"LongName": "sex",
"Description": "String value indicating phenotypical sex.",
"TermURL": "http://purl.obolibrary.org/obo/PATO_0001894",
"Levels": {
"F": {
"Description": "Female",
"TermURL": "http://purl.obolibrary.org/obo/PATO_0000383"
},
"M": {
"Description": "Male",
"TermURL": "http://purl.obolibrary.org/obo/PATO_0000384"
}
}
}
}

0 comments on commit b6e5234

Please sign in to comment.