Giter Site home page Giter Site logo

More info about regions ? about pymrio HOT 7 CLOSED

indecol avatar indecol commented on August 22, 2024
More info about regions ?

from pymrio.

Comments (7)

Didou09 avatar Didou09 commented on August 22, 2024 1

Congrats, by the way, this library looks like a nice piece of code 👍

from pymrio.

konstantinstadler avatar konstantinstadler commented on August 22, 2024

Hi,
In essence, the regions are just strings. Any method you would use would be tied to a specific MRIO - I tried to be as generic as possible in pymrio. For the countries, I developed coco (https://github.com/konstantinstadler/country_converter ) which should just do that. I was thinking to extend coco with more country information (e.g. GDP, population, ...) but then decided to not do that:
This would either require some database backend which needs to be maintained (e.g. for new population data, GDP, ... which might be conflicting between data sources) OR some API access to the data sources to retrieve the information. There are already tools out there doing that, so I decided to not reinvent the tool there - basically, I did not come across a use case which wasn't handled by any other tool yet. Anyway, if you encounter a missing functionality, feel free to implement.

from pymrio.

Didou09 avatar Didou09 commented on August 22, 2024

OK thanks for the answer,
Just the possibility of return the full names together with the ultra-short 2-letter strings would be nice, I don't recognize of all them.
From a first look it seems that country_converter can do that, so I'll just go for this already-existing solution and come back to you if a use-case requires more.
Thanks

from pymrio.

konstantinstadler avatar konstantinstadler commented on August 22, 2024

Yeah, I know it is confusing sometimes. But these are the letters used by the MRIO compiliers. For EXIOBASE we tried to follow ISO2 + some custom ones. Other MRIOS (e.g. Eora) use 3 letters which often follows ISO 3 but not always - thats why there are separate categories in coco.

from pymrio.

Didou09 avatar Didou09 commented on August 22, 2024

I get from the following output that Exiobase 3 considers 250 countries, of which many are grouped into a single general area (like WF for example which groups Zambia, Zimbabwe, Western Sahara...)

Does that mean that there is no country not taken into account in Exiobase 3 ? Are all existing countries either considered individually or in a group, or are there missing countries not taken into account at all ?

image

from pymrio.

konstantinstadler avatar konstantinstadler commented on August 22, 2024

Thanks. Yes, the point of the global MRIOs is to cover the global economy. Of course, it is tricky to say if actually cover everything as there are conflicting statistics. We use the global GDP from the UN as the total and scale the remaining countries to it - is the global GDP of the UN correct? Who knows... Same for countries - how many are there? Who knows... (even in the countries we model explicitly - we get comments by Chinese Profs that Taiwan is not a country and we should label it a "Region of China" ...)

from pymrio.

konstantinstadler avatar konstantinstadler commented on August 22, 2024

feel free to reopen if necessary and thanks for your continuous help and suggestions 👍🏽

from pymrio.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.