Sdmx web services Strutural data SDMX Training Bank Indonesia 16-18 September 2015 Yogyakarta, Indonesia Sdmx web services Strutural data
Dataset
SDMX Web Services RESTful GET Data Eurostat SDMX web service http://ec.europa.eu/eurostat/SDMX/diss-web/rest OCC SEX GEO FREQ AGE UNIT data/ESTAT,cens_01neisco,1.0/A..ED_NED.TOTAL.T.PER.AT+IE/ESTAT?lastNObservations=12 Uniquely Identifies a Dataflow Page 13-17 Web Service Guideline Agency Id Id Version Query parameters data provider Additional parameters Keyword ALL can be used Structure Type Provision, Dataflow / Metadata Flow, Data Structure / Metadata Structure
RESTful GET Data http://52.10.197.225/FusionMatrix/ws/rest/ESTAT,cens_01neisco,1.0/A..ED_NED.TOTAL.T.PER.AT+IE/ESTAT OCC SEX GEO FREQ AGE UNIT data/ESTAT,cens_01neisco,1.0/A..ED_NED.TOTAL.T.PER.AT+IE/ESTAT?lastNObservations=12 Uniquely Identifies a Dataflow Page 13-17 Web Service Guideline Agency Id Id Version Query parameters data provider Additional parameters Keyword ALL can be used Structure Type Provision, Dataflow / Metadata Flow, Data Structure / Metadata Structure
RESTful GET Data http://52.10.197.225/FusionMatrix/ws/rest/data/ESTAT,cens_01neisco,1.0/A..ED_NED.TOTAL.T.PER.AT+IE/ESTAT OCC SEX GEO FREQ AGE UNIT data/ESTAT,cens_01neisco,1.0/A..ED_NED.TOTAL.T.PER.AT+IE/ESTAT?lastNObservations=12 Uniquely Identifies a Dataflow Page 13-17 Web Service Guideline Agency Id Id Version Query parameters data provider Additional parameters Keyword ALL can be used Structure Type Provision, Dataflow / Metadata Flow, Data Structure / Metadata Structure
Using the SDMX REST Query for Schema
Data Structure Definition DSD Specific Schema Constraint Data Structure Definition Dataflow Dimension Attribute Measure Constraint references Concept Code List These become XML Attributes These become XML enumerations These enumerations must take into account Cube Region Constraints
SDMX WRESTful GET Schemaeb Services dataflow/ESTAT,cens_01neisco,1.0?dimensionAtObservation=REF_AREA&explicitMeasure=false Uniquely Identifies any SDMX Structure Structure Type Agency Id Id Version for non time series for non time series, true if observations are strongly typed Only Relevant for Data / Metadata Page 18 of the Web Services User Guide Show Example in Fusion Registry Show example of XMLSpy linking to Schema Talk about Generic Data Why would we want to query by provision rather then dataflow / datastructure (whiteboard this) Structure Type Provision Dataflow / Metadata Flow Data Structure / Metadata Structure
SDMX WebRESTful GET Schema ces http://52.10.197.225/FusionRegistry/ws/rest/schema/dataflow/ESTAT/cens_01neisco/1.0/?dimensionAtObservation=GEO&version=2.1&explicitMeasure=false dataflow/ESTAT,cens_01neisco,1.0?dimensionAtObservation=GEO &explicitMeasure=false Uniquely Identifies any SDMX Structure Structure Type Agency Id Id Version for non time series for non time series, true if observations are strongly typed Only Relevant for Data / Metadata Page 18 of the Web Services User Guide Show Example in Fusion Registry Show example of XMLSpy linking to Schema Talk about Generic Data Why would we want to query by provision rather then dataflow / datastructure (whiteboard this) Structure Type Provision Dataflow / Metadata Flow Data Structure / Metadata Structure Schema Enumeration must take into account Cube Region Constraints
Schema Result
Questions?