Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/open-risk/leontief
Leontief is a C++ package to work with economic Input-Output models
https://github.com/open-risk/leontief
economic-data exiobase input-output-analysis leontief-input-output-model sustainable-finance
Last synced: 25 days ago
JSON representation
Leontief is a C++ package to work with economic Input-Output models
- Host: GitHub
- URL: https://github.com/open-risk/leontief
- Owner: open-risk
- License: gpl-3.0
- Created: 2024-04-25T11:53:33.000Z (7 months ago)
- Default Branch: main
- Last Pushed: 2024-08-17T16:25:09.000Z (3 months ago)
- Last Synced: 2024-08-18T08:55:07.785Z (3 months ago)
- Topics: economic-data, exiobase, input-output-analysis, leontief-input-output-model, sustainable-finance
- Language: C++
- Homepage: https://www.openriskmanagement.com
- Size: 45.9 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Leontief
Leontief is a C++ package to work with economic Input-Output models
## Overall Functionality Objectives
Leontief helps with a number of typical tasks in Input-Output modeling:
* Downloading Public IO Data Sets from various Web locations
* Pre-processing Input-Output tables using command line tools
* Ingesting IO matrices into a C++ environment for further calculations
* Solving typical IO problems using the Eigen linear algebra library## Installation / Workflow
Specific instructions are not provided as those will vary depending on user setup.
* Clone the repository into your work environment (e.g., a leontief directory).
* The command line scripts included in the leontief/scripts directory should be working immediately on a standard linux distribution.Create a leontief/data subdirectory. Download, move and extract the IO databases into the data directory.
Strip the matrix files (e.g., bash strip_exiobase.sh) from label data (we will not need those for numerical C++ calculations).
Compile the C++ code. Leontief uses cmake and conan. Test that everything is running properly.
### Conan Installation
* pip install conan
* conan install . --output-folder=cmake-build-debug --build=missing -s build_type=Debug## Further Resources
Working with CLI tools to process large matrices is elaborated further on the eLearning platform [Open Risk Academy](https://www.openriskacademy.com/course/view.php?id=76)