Closed surchs closed 1 year ago
blocked by Seb lack of time
After conferring with @surchs today, the task here is only to make changes for the existing identifiers and labels found in store.state.categoricalOptions
and not others used outside of the annotation tool in NeuroBagel just yet.
Given a column mapped to a discrete category (e.g. "Diagnosis"), create a complete, schema compliant JSON object of all annotations we have made for this column.
Example from our documentation
assume that
state.columnToCategoryMapping
)valueMapping
is incompleteTODO
Data to grab
isAbout
state.columnToCategoryMap
for the "Label"state.categories[<categoryName>].identifier
for the IRI / TermURLLevels
(in the annotations section)state.dataDictionary.annotated[<columnName>].valueMap
for the TermURLstate.categoricalOptions[<categoryName>]
and then somehow find the right term (getter?)