[DDI-SRG] inline ncube, proposal for sparse matrice

Joachim Wackerow joachim.wackerow at gesis.org
Thu Dec 13 13:50:30 EST 2007


Currently we can represent only a complete ncube with the inline ncube 
module. I see the requirement to represent also sparse matrices as a 
inline ncube.

See below my proposal. Please note the addition of the attribute 
"sparse" at the NCubeInstance and the additional Dimension elements 
inside of the MeasureValue.
With a value sparse="false" the Dimension elements inside of 
MeasureValue would be omitted, which is already the case in the current 
inline module.

Attached is a valid  DDI instance with a complete inline ncube.

Other ideas?
Achim

       <nci:RecordLayout>
         <nci:NCubeInstance sparse="true">
           <nci:Identifier>
             <r:ID>NCubeInstance</r:ID>
           </nci:Identifier>
           <nci:NCubeReference>
             <r:ID>NCube</r:ID>
           </nci:NCubeReference>
         </nci:NCubeInstance>
         <!-- - - - - - - - - - - -->
         <nci:DataItem>
           <nci:NCubeInstanceReference>
             <r:ID>NCube</r:ID>
           </nci:NCubeInstanceReference>
           <!-- - - - - - -->
           <nci:MeasureValue>
             <Dimension rank="1">1</Dimension>
             <Dimension rank="2">1</Dimension>
             <Dimension rank="3">1</Dimension>
             <nci:MeasureReference>
               <r:ID>Measure</r:ID>
             </nci:MeasureReference>
             <nci:Value>670</nci:Value>
           </nci:MeasureValue>

-------------- next part --------------
A non-text attachment was scrubbed...
Name: inline_ncube.xml
Type: text/xml
Size: 17126 bytes
Desc: not available
Url : http://www.icpsr.umich.edu/pipermail/ddi-srg/attachments/20071213/31a4c644/attachment.xml 


More information about the DDI-SRG mailing list