[DDI-SRG] Discussion on BUG 114
Joachim Wackerow
joachim.wackerow at gesis.org
Fri Feb 1 10:08:09 EST 2008
This looks like a very clean solution, which takes advantage from XML
hierarchy/nesting.
I have just a question regarding GrossRecordStructure in
inline_ncube_recordlayout.
While the GrossRecordStructure with LogicalRecordReference and
PhysicalRecordSegment offers a great flexibility for the type of data
order external to DDI, I still don't understand the sense of
GrossRecordStructure in inline_ncube_recordlayout. The data is inline in
inline_ncube_recordlayout, there is no GrossRecordStructure.
Suggestion:
The logical product can be referenced directly from RecordLayout (only
in inline_ncube_recordlayout).
RecordLayoutType
LogicalProductReference 1..1
NCubeInstance 1..n
ADD DefaultMeasureValue 1..n
DataItem 1..n
REMOVE NCubeInstanceReference [*** see note below]
CHANGE MeasureValue to AlternateMeasureValue 0..n
Question regarding ncube_recordlayout and tabular_ncube_recordlayout:
Do I understand it right, that here LogicalRecordReference and
PhysicalRecordSegment make sense for a complex order of ncubes in one file?
Achim
Wendy Thomas wrote:
> This approach should be taken for ncube_recordlayout,
> inline_ncube_recordlayout, and tabular_ncube_recordlayout
>
> On Thu, 31 Jan 2008, Wendy Thomas wrote:
>
>> To make this functional DataItem should be nested in NCubeInstance. With
>> these two items as siblings, the advantage of a DefaultNCubeReference and
>> DefaultMeasure is limited. While helpful for files containing single
>> NCubes a large number of very large files contain multiple NCubes with
>> their contents strung out in a single record. The need as expressed above
>> is accurate, but the solution is only half-way there.
>>
>> Alternate suggestion is to
>>
>> RecordLayoutType
>> PhysicalRecordSegmentReference 1..1
>> NCubeInstance 1..n
>> ADD DefaultMeasureValue 1..n
>> DataItem 1..n
>> REMOVE NCubeInstanceReference [*** see note below]
>> CHANGE MeasureValue to AlternateMeasureValue 0..n
>>
>>
>>
>> This means that a RecordLayout for NCubes would contain a reference to its
>> PhysicalRecordSegment which provides the link back to the LogicalRecord
>> description.
>>
>> Each NCube in the PhysicalRecordSegment is described as a unit,
>> NCubeInstance.
>> EAch NCube Instance would provide its MeasureValue (or MeasureValues in
>> the case of data stored as an ordered array for each cell). The DataItems
>> could override the MeasureValues (for example a cell with an alternate
>> measure or perhaps containing an incomplete or misordered array)
>>
>> ***DataItem would not need to reference an alternate NCube as there would
>> be no way to include a Cell that has no previously defined relationship to
>> the NCube cells.
>>
>>
>> Wendy L. Thomas Phone: +1 612.624.4389
>> Data Access Core Director Fax: +1 612.626.8375
>> Minnesota Population Center Email: wlt at pop.umn.edu
>> University of Minnesota
>> 50 Willey Hall
>> 225 19th Avenue South
>> Minneapolis, MN 55455
>> _______________________________________________
>> DDI-SRG mailing list
>> DDI-SRG at icpsr.umich.edu
>> http://www.icpsr.umich.edu/mailman/listinfo/ddi-srg
>>
>
> Wendy L. Thomas Phone: +1 612.624.4389
> Data Access Core Director Fax: +1 612.626.8375
> Minnesota Population Center Email: wlt at pop.umn.edu
> University of Minnesota
> 50 Willey Hall
> 225 19th Avenue South
> Minneapolis, MN 55455
> _______________________________________________
> DDI-SRG mailing list
> DDI-SRG at icpsr.umich.edu
> http://www.icpsr.umich.edu/mailman/listinfo/ddi-srg
More information about the DDI-SRG
mailing list