Skip to content

Commit

Permalink
Update data export
Browse files Browse the repository at this point in the history
  • Loading branch information
anngvu committed Nov 21, 2023
1 parent 5943f96 commit ce1345d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion data/export_syn_data.clj
Original file line number Diff line number Diff line change
Expand Up @@ -153,6 +153,7 @@
{:ParticipantID (:ParticipantID x)
:Race (or (:Race x) "NA")
:Ethnicity (or (:Ethnicity x) "NA")
:Sex (or (:Sex x) "NA")
:atlas_id (:inAtlas x)}}) data))

(defn transform-diagnosis [data]
Expand Down Expand Up @@ -245,7 +246,7 @@

(def placeholder_P
{:NA_Participant {:Component "Demographics" :ParticipantID "NA_Participant"
:Race "NA" :Ethnicity "NA" :atlas_id "" :atlas_name ""}})
:Race "NA" :Ethnicity "NA" :Sex "NA" :atlas_id "" :atlas_name ""}})

(def clinical-demographics (conj (transform-demographics clinical-participants) placeholder_P))

Expand Down
Binary file modified public/processed_syn_data.json.gz
Binary file not shown.

0 comments on commit ce1345d

Please sign in to comment.