Eurostat SDMX Reference Infrastructure: Tools demonstration November 2015 Eurostat Unit B3 – IT and standards for data and metadata exchange Jean-Francois LEBLANC Christian SEBASTIAN 1
Eurostat Table of Contents 1.Objectives 2.What do we need before the demo 3.SDMX RI 4.Mapping Assistant 1.First Start 2.Category Scheme creation 3.Categories creation 4.Addition of the NA_MAIN DSD 5.Addition of the dataflow definition 6.Dataflow categoristaion 7.Connection to the dissemination DB 2
Eurostat Table of Contents 8.Dataset creation 9.Mapping Set creation 10.Mapping between the dissemination DB and the DSD 11.Transcoding 5.NSI Client 1.Welcome screen 2.Pivot Table 3.Result of an SDMX query 3
Eurostat 1. Objectives Launch Mapping Assistant for the first time Configure mapping store database (MASTORE_DB) Setup a dissemination tree for National Accounts Create a mapping between a NA DSD and the sample disseminiation database Download a file to PUSH data Show a web interface PULLing data 4
Eurostat 2. What do we need before the demo Install Microsoft SQL Server Express 2014 Create an empty database MASTORE_NA Create a demo database NA with some sample data Install SDMX-RI tools (xcopy ultimate versions) Mapping Assistant.net TestClient.net NSI Web Service.net NSI Web Client.net Configured Web Service and Web Client in IIS Downloaded SDMX-NA package (DSDs, Dataflows, Excel templates) 5
Eurostat 3. SDMX Reference Infrastructure ucture_SDMX-RI ucture_SDMX-RI Data ProviderData Collector Non-SDMX local database SDMX data set SDMX Registry DSD SDMX-RI Mapping Assistant Web Svc Test Client Web Client 6
Eurostat 4.1 Mapping Assistant : first start 7
Eurostat 4.2 Category Scheme creation 8
Eurostat 4.3 Category creation Note: The Category Scheme and the Catgories below represents the "navigation tree" of the dissemination system. It can be customised as you wish. It will be displayed like you set it up here in the web client later on. In that example we only create a single Category. 9
Eurostat 4.4 Addition of the NA_MAIN DSD Note: Browse to Desktop Workshop SDMX-NA DSDs And choose ESTAT+NA_MAIN+1.4 Then wait a few seconds… 10
Eurostat 4.5 Addition of the dataflow definition Note: The download contains all National Accounts dataflows, but we only imported the NA_MAIN DSD. Thus an error may appear for non-NA_MAIN dataflows, which you can ignore. Browse for: C:\SDMX Training\Sources\Structure Files 11
Eurostat 4.6 Dataflow categoristaion 2 possibilites: Drag & drop Or Right-click Attach 12
Eurostat 4.7 Connection to the dissemination DB Settings: NA-Connection SqlServer localhost\SQLEXPRESS NA √ Enter login/password Test connection Save 13
Eurostat 4.8 Dataset Creation 14
Eurostat Select table and click OK 15
Eurostat 4.9 Mapping Set creation 16
Eurostat 4.10 Mapping between the dissemination DB and the DSD 17
Eurostat DatasetDSDComment FREQ TIME_FORMAT Transcode: A A, P1Y ADJUSTMENT Transcode: NOT_ADJ N Others 1:1 REF_AREAConstant: AT COUNTERPART_AREAConstant: W2 INSTR_ASSETConstant: _Z REF_PERIOD_DETAILConstant: C DECIMALSConstant: 2 TABLE_IDENTIFIERConstant: T0103 UNIT_MULTConstant: 6 COMPILING_ORGConstant: AT1 18
Eurostat 4.11 Transcoding 19
Eurostat 20
Eurostat 5.1 NSI Web Client : Welcome screen 21
Eurostat 5.2 Pivot table 22
Eurostat 5.3 Result of an SDMX query 23