Skip to content

ndi.fun.doc.ontologyTableRowVars

  ONTOLOGYTABLEROWVARS - return all ontologyTableRow document variable names in dataset/session

  [NAMES,VARIABLENAMES,ONTOLOGYNODES] = ONTOLOGYTABLEROWVARS(S)

  Given an ndi.session or ndi.dataset object S, finds all N of the unique
  variable names (that is, column names) for all ontologyTableRow documents.

  NAMES        {Nx1}: cell array of ontology names available
  VARIABLENAMES{Nx1}: the short name that appears in the table
  ONTOLOGYNODES{Nx1}: the ontology node names of each variable

  Example:
  % if S is an ndi.session or ndi.dataset
  [names,variableNames,ontologyNodes] = ndi.fun.doc.ontologyTableVars(S);