Data Input and Output
IO Database downloading scripts
Leontief does not directly download IO data from online repositories. This task is relegated to scripts. These can be found in the leontief/scripts directory. The intention is to support publicly available IO databases as listed here. Currently the following scripts are implemented:
- download_exiobase.sh
- download_figaro.sh
- download_oecd-icio.sh
Pre-processing
The focus of Leontief is on high performance numerical calculations involving large matrices. It does not offer dataframe type functionality for searching or filtering data, this is more economically achieved using Python. Yet some preprocessing is required. The following scripts offer needed functionality:
- Strip the matrix files (e.g., bash strip_exiobase.sh) from label data (we will not need those for numerical C++ calculations).
- TBC
IO data from public IO repositories come in different formats. It is therefore required to pre-process them before Leontief can input them.
OECD ICIO
The different versions of the OECD-ICIO are available here.