A package for data discovery and extraction from the IMF!
Project description
imfdatapy
A package for data discovery and extraction from the International Monetary Fund (IMF)! This repository contains Python source code and Jupyter notebooks with examples on how to extract data from the IMF.
TODO data license warning
Installation
$ pip install imfdatapy
Usage
imfdatapy
can be used to search through and extract data as follows. The examples below show how to search through the IFS (International Financial Statistics) and BOP (Balance of Payments) using serach_terms
and download all the data with matching economic indicator names.
from imfdatapy.imf import *
ifs = IFS(search_terms=["gross domestic product, real"], countries=["US"], period='Q',
start_date="2000", end_date="2022")
df = ifs.download_data()
bop = BOP(search_terms=["current account, total, credit"], countries=["US"], period='Q',
start_date="2000", end_date="2022")
df = bop.download_data()
Contributing
Interested in contributing? Check out the contributing guidelines. Please note that this project is released with a Code of Conduct. By contributing to this project, you agree to abide by its terms.
License
imfdatapy
was created by Sou-Cheng T. Choi and Irina Klein, Illinois Institute of Technology. It is licensed under the terms of the Apache License, v2.0.
Credits
imfdatapy
was created with cookiecutter
and the py-pkgs-cookiecutter
template.
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Hashes for imfdatapy-0.1.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | a8ab577b511513769ff006851767773b019577e4190b23660dbf018382b9a6df |
|
MD5 | 615dcb0bcdc2dd23efae01c2d291fcc6 |
|
BLAKE2b-256 | 514a704821c674d8e9074de1e4f409b7512bb26084b477d1644a8d0b9dca216b |