Difference between revisions of "Load example datasets"

From Fusion Registry Wiki
Jump to navigation Jump to search
(Create an SDMX Data Provider)
Line 34: Line 34:
 
* Login to the admin account
 
* Login to the admin account
 
* From the left-hand menu choose <code>Organisations</code> > <code>Data Providers</code>
 
* From the left-hand menu choose <code>Organisations</code> > <code>Data Providers</code>
* Choose the [[File:Cogs.PNG|30px]] 'cogs' button and select <code>Create Data Provioder</code>
+
* Choose the [[File:Cogs.PNG|30px]] 'cogs' button and select <code>Create Data Provider</code>
 
* Under the 1 Details step of the wizard:
 
* Under the 1 Details step of the wizard:
 
** Id: MYDP
 
** Id: MYDP
Line 42: Line 42:
 
** Description: A test Data Provider (again, you can choose your own description)
 
** Description: A test Data Provider (again, you can choose your own description)
 
* Choose the <code>Finish</code> button
 
* Choose the <code>Finish</code> button
 +
 +
=Create an SDMX Provision Agreement=
 +
* Login to the admin account
 +
* From the left-hand menu choose <code>Data</code> > <code>Dataflows</code>
 +
* Select the 'EXR' EXB Exchange Rates Dataflow from the list
 +
* Choose the [[File:Cogs.PNG|30px]] 'cogs' button and select <code>Edit Selected Dataflow</code>
 +
* On the Dataflow Wizard, use the <code>Next</code> button to move to Step 3 - Data Providers
 +
*

Revision as of 01:47, 23 September 2020

Overview

Fusion Registry is a 'virtual statistical data warehouse' meaning that the data it contains can either be loaded and held in storage managed by Fusion Registry, or retrived dynamically from external sources like SQL databases, SDMX REST web services or files.

In this example, we are going to load some data from the ECB's EXR Exchange Rate dataset into Fusion Registry.

We first need to prepare the Dataflow to receive data:

  • Add a connection to our MySQL database to store the data
  • Create an SDMX Data Provider - this is the 'organisation' under which the data will be submitted under the SDMX Data Collection model
  • Create an SDMX Provision Agreement - this is the SDMX structure which authorises the Data Provider to submit data to the Dataflow, and also defines where that data is stored

Once the Dataflow has been prepared, the data will be loaded directly from Metadata Technology's Fusion Registry demononstration service.

Add a database connection for data storage

AddDatabaseConnection.PNG
  • Login to the admin account
  • From the left-hand menu choose Admin > Data Manager
  • Choose the Cogs.PNG 'cogs' button and select Add Database Connection from the menu
  • Use the following settings:
    • Connection Id: MYSQL_LOCAL
    • Connection Type: Registry Managed
    • Database Cache: None
    • Database Platform: MySQL
    • Connection Settings: Simple
    • Database Server: localhost
    • Database Port: 3306
    • Database Schema: fusion_registry (or the name of the schema you created)
    • Database Username: (the name of the database user with access to the schema)
    • Database Password: (the password for that database user)

The 'MYSQL_LOCAL' connection Id will be used later when configuring the Provision Agreement.

Create an SDMX Data Provider

DataProviderWizard.PNG
  • Login to the admin account
  • From the left-hand menu choose Organisations > Data Providers
  • Choose the Cogs.PNG 'cogs' button and select Create Data Provider
  • Under the 1 Details step of the wizard:
    • Id: MYDP
    • Language: en (this is the language for the Name and Description - you can choose other languages, but we will work with English for now)
    • Owning Agency: SDMX
    • Name: My Data Provider (you can choose any name you like)
    • Description: A test Data Provider (again, you can choose your own description)
  • Choose the Finish button

Create an SDMX Provision Agreement

  • Login to the admin account
  • From the left-hand menu choose Data > Dataflows
  • Select the 'EXR' EXB Exchange Rates Dataflow from the list
  • Choose the Cogs.PNG 'cogs' button and select Edit Selected Dataflow
  • On the Dataflow Wizard, use the Next button to move to Step 3 - Data Providers