Code Monkey home page Code Monkey logo

mrio_common_metadata's Introduction

mrio_common_metadata

mrio_common_metadata provides three things:

  • A guide on how the Data Package and Table Schema specifications can be used to make MRIO table more consistently formatted and easier to use.
  • Translations of some common MRIO tables to this format
  • Utility code to help make the previous two objectives possible

Separating data and metadata

MRIO tables are often given with weird offsets, and multiple or mixed column/row labels, e.g.

Worksheet with column labels as rows

Worksheet with multiple column and row labels

Working with this type of data requires writing custom code each time. It's a pain. The biggest problem is the mixing of two data types: The metdata on what each row and column represent, and the numerical table that forms the main body of the worksheet. mrio_common_metadata takes the position that these two data streams should be stored separately. It also requires that data be stored in common formats (compressed CSV) with metadata that meets the Data Package specification.

mrio_common_metadata's People

Contributors

cmutel avatar

Watchers

 avatar  avatar  avatar  avatar

mrio_common_metadata's Issues

instructions on how to use

Hi

could an example on how to use this library be added ?

From the example (here) it is not clear to me if the library is used to create the metadata, or also create a version of exiobase (hybrid units) with more consistent formatting as a compressed csv

The link to the tar file with the ordered version of the database is broken.

feature: adjust output directory

For me, the output ended up in the conda environment under:
C:\USER\miniconda\envs\ENV_NAME\Lib\site-packages\mrio_common_metadata-0.1.1-py3.8.egg\mrio_common_metadata\conversion\exiobase_3_hybrid_io\data

I think it would be better to let the user specify a directory or put the output in a folder in the input directory.

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.