OpenBBTerminal
OpenBBTerminal copied to clipboard
[IMPROVE] Economy/Macro function: Enhance the EconDB Open API connector to add groups of countries and tables
Currently the macro function has a long list of countries that works well for one country, but comparing, say the European Union, as a group is not really possible without typing every single country, and then it is still not very straightforward to compare.
A couple of things that would improve the functionality of this feature are:
-
Group countries into categories as they are defined by the MacroDB API connector, also add a flag for
--country all
to compare all countries as a table, bar or pie chart.This can be accomplished through the Python connector to the EconDB API: https://github.com/econdb/inquisitor.
import inquisitor
qb = inquisitor.Inquisitor()
### List sources
qb.sources()
### List datasets
qb.datasets(source='EU')
### Obtain series data
qb.series(dataset='EI_BSCO_M')
-
The ability to search the database by country, seriesID, region, topic, or keyword and phrase are vital components that are not enabled.
-
Incorporate tables for comparing groups of statistics globally, such as this: https://www.econdb.com/world-ranking
-
Add a grouping for the available commodity prices: https://www.econdb.com/commodities
-
Add real time GDP tracker: https://www.econdb.com/real-time-tracker
-
Add global shipping port data: https://www.econdb.com/maritime/ports/
-
Add Supermarket Prices, with retail prices in-detail: https://www.econdb.com/retail-prices/by-country/
Adding this level of functionality to the macro
function would allow more sophisticated research to be conducted, and provide great value to all users globally.