InternationalMonetaryFund

International Monetary Fund data

sources: https://www.imf.org

class plutoPy.model.InternationalMonetaryFund.Meta(**kwargs)

Bases: sqlalchemy.ext.declarative.api.Base, plutoPy.model.Db.StockVizUs

Query IMF meta-data based on geography/indicator. Then use the ID obtained here to query the time-series

AREA

India, Great Britain, United States

AREA_CODE

IN, GB, US…

DATA_DESCRIPTION

description of the data: ‘Primary Commodity Prices, Copper’, ‘Economic Activity, Industrial Production, Index’

DATA_KEY

IMF internal key: PCOPP, AIP_IX

END_YEAR

the year till which TimeSeries data is available

FREQ

A for Annual; Q for Quarterly; M for Monthly

ID

use to query TimeSeries

START_YEAR

the year from which TimeSeries data is available

UNIT_MEASURE

IX for Index; USD for Dollar

UNIT_MULT

0, 3, 6 to multiply by none, thousands and millions

class plutoPy.model.InternationalMonetaryFund.TimeSeries(**kwargs)

Bases: sqlalchemy.ext.declarative.api.Base, plutoPy.model.Db.StockVizUs

Query the IMF time-series data based on the Meta ID

AUTO_ID
ID

get this from Meta

MONTH
VALUE
YEAR