ddi:dataset:3_0
Imports: ddi:reusable:3_0 (reusable.xsd)
Imports: ddi:physicaldataproduct:3_0 (physicaldataproduct.xsd)
Global Elements
DataSet (DataSetType): [substitution: p:BaseRecordLayout]
RecordSet (RecordSetType):
VariableOrder (VariableOrderType):
Record (RecordType):
Name (r:InternationalStringType):
IdentifyingVariableReference (r:ReferenceType): Identifies the variable which holds the primary key or index values.
DefaultVariableSchemeReference (r:ReferenceType): Identifies the variable scheme from which identifying values may be inherited by the items contained in the data set. This allows for only the ID values to be specified at the item level, to avoid needless repetition.
ItemSet (ItemSetType):
ItemValue (ItemValueType): Identifies the data set.
VariableReference (r:ReferenceType): References the variable associated with the value given.
VariableSet (VariableSetType):
VariableItem (VariableItemType):
Complex Types
DataSetType:
- Content:
- Extends: p:BaseRecordLayoutType
- Base Content
- Extends: r:IdentifiableType
- Base Content
- Extends: AbstractIdentifiableType
- Base Content
- Sequence of:
- [Reference] (Name) - min. 0 - max. unbounded
- Human-readable name given the entity being identified. May be repeated to provide language and/or geographic alternatives.
- Base Attributes
- id (BaseIDType) - required
- Assigned ID, unique within its maintainable object.
- urn (xs:anyURI) - optional
- DDI-structured URN of the element as described in Part I of the Technical Documentation.
- action (ActionCodeType) - optional
- Used for inheritance to indicate that the element being described is being added, updated, or deleted at the local level. Add: This element is added to the inherited structure. Update: This element is to be used in place of the inherited element with this ID for local processing. Delete: This element has been removed from the inherited group for local processing. There will be a new ID only in the case of Add.
- Extended Attributes
- Extended Content
- Sequence of:
- [Reference] (PhysicalStructureReference)
- CharacterSet (r:CodeValueType)
- Character set used in the data file (e.g., US ASCII, EBCDIC, UTF-8). This is a required field. If the character set is not known, for example for some proprietary data files, enter "unspecified".
- ArrayBase (xs:integer)
- Sets the array base for any arrays used in the definition (that is, whether the first value is in position 0 or 1, etc.). This may be the data array in a delimited data file or the measure array for measures that are bundled and stored in a single location. Array base is generally set to either 0 or 1. There is no override provided as systems processing a record would use a consistent array base.
- Extended Content
- Sequence of:
- [Reference] (Name) - max. unbounded
- [Reference] (IdentifyingVariableReference) - min. 0
- References the variable which holds the primary key or index values.
- [Reference] (DefaultVariableSchemeReference) - min. 0
- References the variable scheme from which identifying values may be inherited by the items contained in the data set. This allows for only the ID values to be specified at the item level, to avoid needless repetition.
- Choice Of:
- [Reference] (RecordSet)
- Storage for the traditional rectangular form of data.
- [Reference] (ItemSet)
- Storage form for random order item variables.
- [Reference] (VariableSet)
- Storage form that captures all values of each variable together.
RecordSetType: Storage for the traditional rectangular form of data.
- Content:
- Sequence of:
- [Reference] (VariableOrder)
- Holds the sequence of variable references in storage order.
- [Reference] (Record) - max. unbounded
- Holds the sequence of record values in storage order, as described in VariableOrder.
VariableOrderType: Holds the sequence of variable references in storage order.
- Content:
- Sequence of:
- [Reference] (VariableReference) - max. unbounded
- References variables in storage order. One reference per variable.
RecordType: Holds the sequence of record values in storage order, as described by VariableOrder.
- Content:
- Sequence of:
- Value (xs:string) - max. unbounded
- Holds the value in the record.
ItemSetType: Storage form for random item value order.
- Content:
- Sequence of:
- [Reference] (ItemValue) - max. unbounded
- Identifies and holds the item value.
ItemValueType:
- Content:
- Sequence of:
- [Reference] (VariableReference)
- References the variable associated with the value given.
- RecordReference (xs:string)
- Holds the value of the records identifying field/key.
- Value (xs:string) - max. unbounded
VariableSetType: Storage form for capturing all values of each variable together
- Content:
- Sequence of:
- [Reference] (VariableItem) - max. unbounded
- The set of values associated with a single variable (values included in a column in rectangular data sets).
VariableItemType: The set of values associated with a single variable (values included in a column in rectangular data sets).
- Content:
- Sequence of:
- VariableReference (r:ReferenceType)
- References the variable associated with the values given.
- Value (xs:string) - max. unbounded
- Value associated with the referenced variable.
This documentation is extracted from the inline documentation of DDI 3.0 XML Schema and is licensed under the terms of the GNU General Public License as the schema itself.