mathworks / dbnomics

Access DBnomics economic data from MATLAB

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Getting Started with DBnomics data in MATLAB®

Description

This interface allows users to access DBnomics data directly from MATLAB. DBnomics is a free platform to aggregate publicly-available economic data provided by national and international statistical institutions, but also by researchers and private companies.

Open in MATLAB Online

System Requirements

  • MATLAB R2022a or later

Features

Users can retrieve DBnomics data directly from MATLAB. DBnomics documentation for Datasets, Last Updates, Providers, Search, and Series requests can be found here:

https://api.db.nomics.world/v22/apidocs#/

A valid DBnomics connection is required for all requests. Users can retrieve information required to make subsequent data requests.

Create a DBnomics connection.

c = dbnomics;

Retrieve providers and datasets information

Get all available datasets information for a provider or information for a specific dataset

d = datasets(c,"ECB");
d = datasets(c,"ECB","AME");

Get last update date information for providers and datasets

d = lastupdates(c);

Get providers information

d = providers(c);
d = providers(c,"ECB");

Search for datasets information with optional query text

d = search(c);
d = search(c,q="Food and Agriculture");

Get a list of series for providers and datasets

d = series(c);
d = series(c,"ECB");
d = series(c,"ECB","AME");
d = series(c,"ECB","AME","A.AUT.1.0.0.0.OVGD");

Use API flags to filter requested data. For example,

d = datasets(c,"ECB","",limit=50)
d = lastupdates(c,"datasets.limit",10,"providers.limit",5)
d = providers(c,"",limit=100,offset=50)
d = search(c,q="Food and Agriculture",limit=50,offset=10)
d = series(c,"","","",limit=100)

License

The license is available in the LICENSE.TXT file in this GitHub repository.

Community Support

MATLAB Central

Copyright 2023 The MathWorks, Inc.

About

Access DBnomics economic data from MATLAB

License:BSD 3-Clause "New" or "Revised" License


Languages

Language:MATLAB 100.0%