Skip to main content

macro

Get a broad selection of macro data from one or multiple countries. This includes Gross Domestic Product (RGDP & GDP) and the underlying components, Treasury Yields (Y10YD & M3YD), Employment figures (URATE, EMP, AC0I0 and EMRATIO), Government components (e.g. GBAL & GREV), Consumer and Producer Indices (CPI & PPI) and a variety of other indicators. [Source: EconDB]

Usage

macro [-p PARAMETERS] [-c COUNTRIES] [-t {,TPOP,TOYA,TUSD,TPGP,TNOR}] [--show {parameters,countries,transform}] [-s START_DATE] [-e END_DATE] [--convert {ALL,ARS,AUD,EUR,AZN,BDT,BYR,EUR,BTN,BAM,BWP,BRL,BGN,KHR,XAF,CAD,CLP,CNY,COP,HRK,EUR,CZK,DKK,DOP,EGP,EUR,EUR,EUR,EUR,EUR,EUR,HNL,HKD,HUF,INR,IDR,IRR,EUR,ILS,EUR,JPY,KZT,LAK,EUR,LBP,EUR,EUR,MKD,MYR,EUR,MXN,MNT,EUR,NZD,NGN,NOK,OMR,PKR,PAB,PYG,PEN,PHP,PLN,EUR,QAR,RON,RUB,SAR,RSD,SGD,EUR,EUR,ZAR,KRW,EUR,SEK,CHF,TWD,THB,TND,TRY,UAH,AED,GBP,USD,UZS,VEF,VND}]

Parameters

NameParameterDescriptionDefaultOptionalChoices
parameters-p --parametersAbbreviation(s) of the Macro Economic dataCPITrueNone
countries-c --countriesThe country or countries you wish to show data forunited_statesTrueNone
transform-t --transformThe transformation to apply to the dataTrue, TPOP, TOYA, TUSD, TPGP, TNOR
show--showShow parameters and what they represent using 'parameters' or countries and their currencies using 'countries'NoneTrueparameters, countries, transform
start_date-s --startThe start date of the data (format: YEAR-MONTH-DAY, i.e. 2010-12-31)NoneTrueNone
end_date-e --endThe end date of the data (format: YEAR-MONTH-DAY, i.e. 2021-06-20)NoneTrueNone
currency--convertConvert the currency of the chosen country to a specified currency. To find the currency symbols use '--show countries'FalseTruedict_values(['ALL', 'ARS', 'AUD', 'EUR', 'AZN', 'BDT', 'BYR', 'EUR', 'BTN', 'BAM', 'BWP', 'BRL', 'BGN', 'KHR', 'XAF', 'CAD', 'CLP', 'CNY', 'COP', 'HRK', 'EUR', 'CZK', 'DKK', 'DOP', 'EGP', 'EUR', 'EUR', 'EUR', 'EUR', 'EUR', 'EUR', 'HNL', 'HKD', 'HUF', 'INR', 'IDR', 'IRR', 'EUR', 'ILS', 'EUR', 'JPY', 'KZT', 'LAK', 'EUR', 'LBP', 'EUR', 'EUR', 'MKD', 'MYR', 'EUR', 'MXN', 'MNT', 'EUR', 'NZD', 'NGN', 'NOK', 'OMR', 'PKR', 'PAB', 'PYG', 'PEN', 'PHP', 'PLN', 'EUR', 'QAR', 'RON', 'RUB', 'SAR', 'RSD', 'SGD', 'EUR', 'EUR', 'ZAR', 'KRW', 'EUR', 'SEK', 'CHF', 'TWD', 'THB', 'TND', 'TRY', 'UAH', 'AED', 'GBP', 'USD', 'UZS', 'VEF', 'VND'])

Examples

2022 Mar 15, 07:20 (🦋) /economy/ $ macro -p CONF -c netherlands,germany,france -s 2005-01-01 -e 2022-01-01

macro conf netherlands germany france

oil production macro

argentina gross domestic product in dollars