Wiki source code of 13 Annex 3 – Data and Metadata Samples
Show last authors
| author | version | line-number | content |
|---|---|---|---|
| 1 | {{box title="**Contents**"}} | ||
| 2 | {{toc/}} | ||
| 3 | {{/box}} | ||
| 4 | |||
| 5 | Accompanying this document is a set of sample files. These samples consists of [[structural metadata>>doc:sdmx:Glossary.Structural metadata.WebHome]], data, [[reference metadata>>doc:sdmx:Glossary.Reference metadata.WebHome]], and schema files for structured data and [[reference metadata>>doc:sdmx:Glossary.Reference metadata.WebHome]]. There are 4 basic sets of files. The details of each of these sets is described in the sections to follow. | ||
| 6 | |||
| 7 | == 13.1 Common Structures == | ||
| 8 | |||
| 9 | Directory Name: common | ||
| 10 | |||
| 11 | Description: common [[structural metadata>>doc:sdmx:Glossary.Structural metadata.WebHome]] based on the content oriented guidelines Contents: | ||
| 12 | |||
| 13 | (% style="width:1037.45px" %) | ||
| 14 | |**Name**|(% style="width:828px" %)**Description** | ||
| 15 | |common.xml|(% style="width:828px" %)[[structural metadata>>doc:sdmx:Glossary.Structural metadata.WebHome]], based on the content oriented guidelines; this is reused by many of the [[structural metadata>>doc:sdmx:Glossary.Structural metadata.WebHome]] files in the sample set | ||
| 16 | |sdmx_common.xsd|(% style="width:828px" %)XML schema file based on the [[structural metadata>>doc:sdmx:Glossary.Structural metadata.WebHome]] in common.xml; this is reused by many structure specific schemas in the sample set | ||
| 17 | |||
| 18 | == 13.2 ECB Exchange Rates == | ||
| 19 | |||
| 20 | Directory Name: exr | ||
| 21 | |||
| 22 | Description: a set of 3 data structure variations and related data files demonstrating the various ways in which data can be organised | ||
| 23 | |||
| 24 | Contents: The contents are divided into 4 directories, each described in the sections to follow: | ||
| 25 | |||
| 26 | === 13.2.1 ECB Exchange Rates: Common Metadata === | ||
| 27 | |||
| 28 | Directory Name: common | ||
| 29 | |||
| 30 | Description: common [[structural metadata>>doc:sdmx:Glossary.Structural metadata.WebHome]] utilized by each [[data structure definition>>doc:sdmx:Glossary.Data structure definition.WebHome]] Contents: | ||
| 31 | |||
| 32 | (% style="width:1042.45px" %) | ||
| 33 | |**Name**|(% style="width:844px" %)**Description** | ||
| 34 | |common.xml|(% style="width:844px" %)[[structural metadata>>doc:sdmx:Glossary.Structural metadata.WebHome]]; this is reused by the rest of the [[structural metadata>>doc:sdmx:Glossary.Structural metadata.WebHome]] files in the exchange rate sample set | ||
| 35 | |sdmx_common.xsd|(% style="width:844px" %)XML schema file based on the [[structural metadata>>doc:sdmx:Glossary.Structural metadata.WebHome]] in common.xml; this is reused by structure specific schemas in the exchange rate sample set | ||
| 36 | |||
| 37 | === 13.2.2 ECB Exchange Rates: No Group === | ||
| 38 | |||
| 39 | Directory Name: ecb_exr_ng | ||
| 40 | |||
| 41 | Description: exchange rate [[structural metadata>>doc:sdmx:Glossary.Structural metadata.WebHome]] data and data with no groups defined; all [[attribute relationships>>doc:sdmx:Glossary.Attribute relationship.WebHome]] are to specific [[dimensions>>doc:sdmx:Glossary.Dimension.WebHome]] Contents: | ||
| 42 | |||
| 43 | (% style="width:1039.45px" %) | ||
| 44 | |**Name**|(% style="width:786px" %)**Description** | ||
| 45 | |ecb_exr_ng.xml|(% style="width:786px" %)[[structural metadata>>doc:sdmx:Glossary.Structural metadata.WebHome]], defining the data structure | ||
| 46 | |ecb_exr_ng_full.xml|(% style="width:786px" %)[[structural metadata>>doc:sdmx:Glossary.Structural metadata.WebHome]], represents the same structure as ecb_exr_ng.xml, but does not use external referencing to make the file easier to load into tools which cannot resolve local file references | ||
| 47 | |generic/ecb_exr_ng_flat.xml|(% style="width:786px" %)data in the generic format, structured with all [[dimensions>>doc:sdmx:Glossary.Dimension.WebHome]] at the observation level | ||
| 48 | |generic/ecb_exr_ng_ts.xml|(% style="width:786px" %)data in the time series-specific generic format, structured with the time [[dimension>>doc:sdmx:Glossary.Dimension.WebHome]] at the observation level | ||
| 49 | |generic/ecb_exr_ng_ts_gf.xml|(% style="width:786px" %)data in the generic format, structured with the time [[dimension>>doc:sdmx:Glossary.Dimension.WebHome]] at the observation level | ||
| 50 | |generic/ecb_exr_ng_xs.xml|(% style="width:786px" %)data in the generic format, structured with the [[currency>>doc:sdmx:Glossary.Currency.WebHome]] [[dimension>>doc:sdmx:Glossary.Dimension.WebHome]] at the observation level | ||
| 51 | |structured/ecb_exr_ng_flat.xsd|(% style="width:786px" %)structure specific data schema for data structured with all [[dimensions>>doc:sdmx:Glossary.Dimension.WebHome]] at the observation level | ||
| 52 | |structured/ecb_exr_ng_ts.xsd|(% style="width:786px" %)structure specific data schema for data structured with the time [[dimension>>doc:sdmx:Glossary.Dimension.WebHome]] at the observation level | ||
| 53 | |structured/ecb_exr_ng_xs.xsd|(% style="width:786px" %)structure specific data schema for data structured with the [[currency>>doc:sdmx:Glossary.Currency.WebHome]] [[dimension>>doc:sdmx:Glossary.Dimension.WebHome]] at the observation level | ||
| 54 | |structured/ecb_exr_ng_flat.xml|(% style="width:786px" %)data in the structure specific format, structured with all [[dimensions>>doc:sdmx:Glossary.Dimension.WebHome]] at the observation level | ||
| 55 | |structured/ecb_exr_ng_ts.xml|(% style="width:786px" %)data in the structure specific format, structured with the time [[dimension>>doc:sdmx:Glossary.Dimension.WebHome]] at the observation level | ||
| 56 | |structured/ecb_exr_ng_ts_gf.xml|(% style="width:786px" %)data in the structure specific format, structured with the time [[dimension>>doc:sdmx:Glossary.Dimension.WebHome]] at the observation level | ||
| 57 | |structured/ecb_exr_ng_xs.xml|(% style="width:786px" %)data in the structure specific format, structured with the [[currency>>doc:sdmx:Glossary.Currency.WebHome]] [[dimension>>doc:sdmx:Glossary.Dimension.WebHome]] at the observation level | ||
| 58 | |||
| 59 | === 13.2.3 ECB Exchange Rates: Sibling Group === | ||
| 60 | |||
| 61 | Directory Name: ecb_exr_sg | ||
| 62 | |||
| 63 | Description: exchange rate [[structural metadata>>doc:sdmx:Glossary.Structural metadata.WebHome]] data and data with a [[sibling group>>doc:sdmx:Glossary.Sibling group.WebHome]] defined; only one [[attribute>>doc:sdmx:Glossary.Attribute.WebHome]] references the [[sibling group>>doc:sdmx:Glossary.Sibling group.WebHome]] | ||
| 64 | |||
| 65 | Contents: | ||
| 66 | |||
| 67 | (% style="width:1044.45px" %) | ||
| 68 | |**Name**|(% style="width:792px" %)**Description** | ||
| 69 | |ecb_exr_sg.xml|(% style="width:792px" %)[[structural metadata>>doc:sdmx:Glossary.Structural metadata.WebHome]], defining the data structure | ||
| 70 | |ecb_exr_sg_full.xml|(% style="width:792px" %)[[structural metadata>>doc:sdmx:Glossary.Structural metadata.WebHome]], represents the same structure as ecb_exr_ng.xml, but does not use external referencing to make the file easier to load into tools which cannot resolve local file references | ||
| 71 | |generic/ecb_exr_sg_flat.xml|(% style="width:792px" %)data in the generic format, structured with all [[dimensions>>doc:sdmx:Glossary.Dimension.WebHome]] at the observation level | ||
| 72 | |generic/ecb_exr_sg_ts.xml|(% style="width:792px" %)data in the time series-specific generic format, structured with the time [[dimension>>doc:sdmx:Glossary.Dimension.WebHome]] at the observation level | ||
| 73 | |generic/ecb_exr_sg_ts_gf.xml|(% style="width:792px" %)data in the generic format, structured with the time [[dimension>>doc:sdmx:Glossary.Dimension.WebHome]] at the observation level | ||
| 74 | |generic/ecb_exr_sg_xs.xml|(% style="width:792px" %)data in the generic format, structured with the [[currency>>doc:sdmx:Glossary.Currency.WebHome]] [[dimension>>doc:sdmx:Glossary.Dimension.WebHome]] at the observation level | ||
| 75 | |structured/ecb_exr_sg_flat.xsd|(% style="width:792px" %)structure specific data schema for data structured with all [[dimensions>>doc:sdmx:Glossary.Dimension.WebHome]] at the observation level | ||
| 76 | |structured/ecb_exr_sg_ts.xsd|(% style="width:792px" %)structure specific data schema for data structured with the time [[dimension>>doc:sdmx:Glossary.Dimension.WebHome]] at the observation level | ||
| 77 | |structured/ecb_exr_sg_xs.xsd|(% style="width:792px" %)structure specific data schema for data structured with the [[currency>>doc:sdmx:Glossary.Currency.WebHome]] [[dimension>>doc:sdmx:Glossary.Dimension.WebHome]] at the observation level | ||
| 78 | |structured/ecb_exr_sg_flat.xml|(% style="width:792px" %)data in the structure specific format, structured with all [[dimensions>>doc:sdmx:Glossary.Dimension.WebHome]] at the observation level | ||
| 79 | |structured/ecb_exr_sg_ts.xml|(% style="width:792px" %)data in the structure specific format, structured with the time [[dimension>>doc:sdmx:Glossary.Dimension.WebHome]] at the observation level | ||
| 80 | |structured/ecb_exr_sg_ts_gf.xml|(% style="width:792px" %)data in the structure specific format, structured with the time [[dimension>>doc:sdmx:Glossary.Dimension.WebHome]] at the observation level | ||
| 81 | |structured/ecb_exr_sg_xs.xml|(% style="width:792px" %)data in the structure specific format, structured with the [[currency>>doc:sdmx:Glossary.Currency.WebHome]] [[dimension>>doc:sdmx:Glossary.Dimension.WebHome]] at the observation level | ||
| 82 | |||
| 83 | === 13.2.4 ECB Exchange Rates: Rate Group === | ||
| 84 | |||
| 85 | Directory Name: ecb_exr_rg | ||
| 86 | |||
| 87 | Description: exchange rate [[structural metadata>>doc:sdmx:Glossary.Structural metadata.WebHome]] data and data with a [[sibling group>>doc:sdmx:Glossary.Sibling group.WebHome]] and rate group defined; only one [[attribute>>doc:sdmx:Glossary.Attribute.WebHome]] specifies a relationship with the rate group, but the [[dimensions>>doc:sdmx:Glossary.Dimension.WebHome]] from the previous sample now declare the [[sibling group>>doc:sdmx:Glossary.Sibling group.WebHome]] as an attachment group | ||
| 88 | |||
| 89 | Contents: | ||
| 90 | |||
| 91 | (% style="width:1053.45px" %) | ||
| 92 | |**Name**|(% style="width:804px" %)**Description** | ||
| 93 | |ecb_exr_rg.xml|(% style="width:804px" %)[[structural metadata>>doc:sdmx:Glossary.Structural metadata.WebHome]], defining the data structure | ||
| 94 | |ecb_exr_rg_full.xml|(% style="width:804px" %)[[structural metadata>>doc:sdmx:Glossary.Structural metadata.WebHome]], represents the same structure as ecb_exr_ng.xml, but does not use external referencing to make the file easier to load into tools which cannot resolve local file references | ||
| 95 | |generic/ecb_exr_rg_flat.xml|(% style="width:804px" %)data in the generic format, structured with all [[dimensions>>doc:sdmx:Glossary.Dimension.WebHome]] at the observation level | ||
| 96 | |generic/ecb_exr_rg_ts.xml|(% style="width:804px" %)data in the time series-specific generic format, structured with the time [[dimension>>doc:sdmx:Glossary.Dimension.WebHome]] at the observation level | ||
| 97 | |generic/ecb_exr_rg_ts_gf.xml|(% style="width:804px" %)data in the generic format, structured with the time [[dimension>>doc:sdmx:Glossary.Dimension.WebHome]] at the observation level | ||
| 98 | |generic/ecb_exr_rg_xs.xml|(% style="width:804px" %)data in the generic format, structured with the [[currency>>doc:sdmx:Glossary.Currency.WebHome]] [[dimension>>doc:sdmx:Glossary.Dimension.WebHome]] at the observation level | ||
| 99 | |structured/ecb_exr_rg_flat.xsd|(% style="width:804px" %)structure specific data schema for data structured with all [[dimensions>>doc:sdmx:Glossary.Dimension.WebHome]] at the observation level | ||
| 100 | |structured/ecb_exr_rg_ts.xsd|(% style="width:804px" %)structure specific data schema for data structured with the time [[dimension>>doc:sdmx:Glossary.Dimension.WebHome]] at the observation level | ||
| 101 | |structured/ecb_exr_rg_xs.xsd|(% style="width:804px" %)structure specific data schema for data structured with the [[currency>>doc:sdmx:Glossary.Currency.WebHome]] [[dimension>>doc:sdmx:Glossary.Dimension.WebHome]] at the observation level | ||
| 102 | |structured/ecb_exr_rg_flat.xml|(% style="width:804px" %)data in the structure specific format, structured with all [[dimensions>>doc:sdmx:Glossary.Dimension.WebHome]] at the observation level | ||
| 103 | |structured/ecb_exr_rg_ts.xml|(% style="width:804px" %)data in the structure specific format, structured with the time [[dimension>>doc:sdmx:Glossary.Dimension.WebHome]] at the observation level | ||
| 104 | |structured/ecb_exr_rg_ts_gf.xml|(% style="width:804px" %)data in the structure specific format, structured with the time [[dimension>>doc:sdmx:Glossary.Dimension.WebHome]] at the observation level | ||
| 105 | |structured/ecb_exr_rg_xs.xml|(% style="width:804px" %)data in the structure specific format, structured with the [[currency>>doc:sdmx:Glossary.Currency.WebHome]] [[dimension>>doc:sdmx:Glossary.Dimension.WebHome]] at the observation level | ||
| 106 | |||
| 107 | == 13.3 Eurostat Demography == | ||
| 108 | |||
| 109 | Directory Name: demography | ||
| 110 | |||
| 111 | Description: data and [[reference metadata>>doc:sdmx:Glossary.Reference metadata.WebHome]], with accompanying [[structural metadata>>doc:sdmx:Glossary.Structural metadata.WebHome]] Contents: | ||
| 112 | |||
| 113 | (% style="width:1058.45px" %) | ||
| 114 | |**Name**|(% style="width:868px" %)**Description** | ||
| 115 | |demography.xml|(% style="width:868px" %)[[structural metadata>>doc:sdmx:Glossary.Structural metadata.WebHome]], defining the data structure for demographic data | ||
| 116 | |demography_xs_ex.xsd|(% style="width:868px" %)structure specific data schema for demography data structured with the demographic [[measure>>doc:sdmx:Glossary.Measure.WebHome]] [[dimension>>doc:sdmx:Glossary.Dimension.WebHome]] at the observation level | ||
| 117 | |demography_xs.xml|(% style="width:868px" %)data in the structure specific format, structured with the demographic [[measure>>doc:sdmx:Glossary.Measure.WebHome]] [[dimension>>doc:sdmx:Glossary.Dimension.WebHome]] at the observation level | ||
| 118 | |esms.xml|(% style="width:868px" %)[[structural metadata>>doc:sdmx:Glossary.Structural metadata.WebHome]], defining a much simplified variation of the Eurostat [[SDMX>>doc:sdmx:Glossary.Statistical data and metadata exchange.WebHome]] metadata structure; all of the new features of the metadata structure including the various target objects, the ability to reference multiple possible targets from a report structure and the ability to have more complex structures with repeating [[attributes>>doc:sdmx:Glossary.Attribute.WebHome]], [[attributes>>doc:sdmx:Glossary.Attribute.WebHome]] with both sub content and values, and [[attributes>>doc:sdmx:Glossary.Attribute.WebHome]] with structured text as it content are included | ||
| 119 | |esms.xsd|(% style="width:868px" %)structure specific metadata schema for the Eurostat [[SDMX>>doc:sdmx:Glossary.Statistical data and metadata exchange.WebHome]] metadata structure | ||
| 120 | |esms_generic.xml|(% style="width:868px" %)sample [[reference metadata>>doc:sdmx:Glossary.Reference metadata.WebHome]] in the generic format, attached to the demography data, based on the Eurostat [[SDMX>>doc:sdmx:Glossary.Statistical data and metadata exchange.WebHome]] metadata structure | ||
| 121 | |esms_structured.xml|(% style="width:868px" %)((( | ||
| 122 | sample [[reference metadata>>doc:sdmx:Glossary.Reference metadata.WebHome]] in the structure | ||
| 123 | |||
| 124 | specific format, attached to the | ||
| 125 | |||
| 126 | demography data, based on the Eurostat [[SDMX>>doc:sdmx:Glossary.Statistical data and metadata exchange.WebHome]] metadata structure | ||
| 127 | ))) | ||
| 128 | |xhtml|(% style="width:868px" %)XML schema files for XHTML - included for reference from the structure specific metadata schema |