This package contains functions to calculate Economic Complexity indicators.
The functions handle the data through pandas.DataFrame objects.
Installation
We recommend the use of poetry, to resolve the best version of the dependencies that works with your current project.
$ poetry add economic-complexity
For the time being the library is compatible with both pandas and polars, though we intend to migrate to polars completely. Specify the package you want to use as backend as an extra at installation:
$ poetry add economic-complexity[pandas]
$ # or
$ poetry add economic-complexity[polars]
Tutorial
We have a brief Tutorial, using data from the Observatory of Economic Complexity, to get started on how to use the basic functions of this package.
More complex functions use the resulting dataframes of the basic functions as arguments.
References
-
Hidalgo, César A. (2021). Economic complexity theory and applications. Nature Reviews Physics, 3(2), 92–113. https://doi.org/10.1038/s42254-020-00275-1
-
Catalán, P., Navarrete, C., & Figueroa, F. (2020). The scientific and technological cross-space: Is technological diversification driven by scientific endogenous capacity? Research Policy, 104016, 104016. https://doi.org/10.1016/j.respol.2020.104016
-
Hidalgo, César A., & Hausmann, R. (2009). The building blocks of economic complexity. Proceedings of the National Academy of Sciences of the United States of America, 106(26), 10570–10575. https://doi.org/10.1073/pnas.0900943106
-
Hidalgo, C. A., Klinger, B., Barabási, A.-L., & Hausmann, R. (2007). The product space conditions the development of nations. Science (New York, N.Y.), 317(5837), 482–487. https://doi.org/10.1126/science.1144581
-
Hartmann, D., Guevara, M. R., Jara-Figueroa, C., Aristarán, M., & Hidalgo, C. A. (2017). Linking Economic Complexity, Institutions, and Income Inequality. World Development, 93, 75–93. https://doi.org/10.1016/j.worlddev.2016.12.020
-
Romero, J. P., & Gramkow, C. (2021). Economic complexity and greenhouse gas emissions. World Development, 139, 105317. https://doi.org/10.1016/j.worlddev.2020.105317
-
Bahar, D., Hausmann, R., Hidalgo, C. A. (2014). Neighbors and the evolution of the comparative advantage of nations: Evidence of international knowledge diffusion?. Journal of International Economics, 92, 111-123. http://dx.doi.org/10.1016/j.jinteco.2013.11.001
© 2022 Datawheel, LLC.
This project is licensed under MIT.
Metadata
Release files for economic-complexity 0.3.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | |
|---|---|---|---|---|
| economic_complexity-0.3.0.tar.gz | 12.7 kB | Without provenance | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| economic_complexity-0.3.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 30.5 kB
Release files / economic_complexity-0.3.0.tar.gz
| Download URL | economic_complexity-0.3.0.tar.gz |
|---|---|
| Size | 12.7 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
3d301a5c769eb2cdbf6de25cf099a2c6a307fbfd2a963980825291e0971b66e8
|
|
BLAKE2b-256 checksum How to use checksums |
4de8d9eaddebe89684b4ad5cf748d1558405ea1e34bd0600dec3d2bc63cca05d
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/2.1.3 CPython/3.12.3 Linux/6.11.0-1015-azure
|
Release files / economic_complexity-0.3.0-py3-none-any.whl
| Download URL | economic_complexity-0.3.0-py3-none-any.whl |
|---|---|
| Size | 17.8 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
a863721b226fdeca6f55faa0872e3a67f745baba60f8827340a7594343a51b83
|
|
BLAKE2b-256 checksum How to use checksums |
a666614288f2f07f31b25d88fc27bffe7c138def6b40ccb11a1ef9277cf49154
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/2.1.3 CPython/3.12.3 Linux/6.11.0-1015-azure
|
Security for economic-complexity 0.3.0
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.