mrio-common-metadata


Namemrio-common-metadata JSON
Version 0.2.1 PyPI version JSON
download
home_pagehttps://github.com/brightway-lca/mrio_common_metadata
SummaryCommon Datapackage schema and utilities for MRIO tables
upload_time2022-04-28 20:02:06
maintainer
docs_urlNone
authorChris Mutel
requires_python
licenseBSD 3-clause
keywords
VCS
bugtrack_url
requirements pyxlsb xlrd pandas scipy openpyxl
Travis-CI No Travis.
coveralls test coverage No coveralls.
            # mrio_common_metadata

`mrio_common_metadata` provides three things:

* A guide on how the [Data Package](https://frictionlessdata.io/specs/data-package/) and [Table Schema](https://frictionlessdata.io/specs/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](docs/images/worksheet-1.png)

![Worksheet with multiple column and row labels](docs/images/worksheet-2.png)

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.



            

Raw data

            {
    "_id": null,
    "home_page": "https://github.com/brightway-lca/mrio_common_metadata",
    "name": "mrio-common-metadata",
    "maintainer": "",
    "docs_url": null,
    "requires_python": "",
    "maintainer_email": "",
    "keywords": "",
    "author": "Chris Mutel",
    "author_email": "cmutel@gmail.com",
    "download_url": "https://files.pythonhosted.org/packages/70/5e/ebe242536f4bf8368d8624a6489959c9f8738d5cdd7d322dd288141244fa/mrio_common_metadata-0.2.1.tar.gz",
    "platform": null,
    "description": "# mrio_common_metadata\n\n`mrio_common_metadata` provides three things:\n\n* A guide on how the [Data Package](https://frictionlessdata.io/specs/data-package/) and [Table Schema](https://frictionlessdata.io/specs/table-schema/) specifications can be used to make MRIO table more consistently formatted and easier to use.\n* Translations of some common MRIO tables to this format\n* Utility code to help make the previous two objectives possible\n\n# Separating data and metadata\n\nMRIO tables are often given with weird offsets, and multiple or mixed column/row labels, e.g.\n\n![Worksheet with column labels as rows](docs/images/worksheet-1.png)\n\n![Worksheet with multiple column and row labels](docs/images/worksheet-2.png)\n\nWorking 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.\n\n\n",
    "bugtrack_url": null,
    "license": "BSD 3-clause",
    "summary": "Common Datapackage schema and utilities for MRIO tables",
    "version": "0.2.1",
    "project_urls": {
        "Homepage": "https://github.com/brightway-lca/mrio_common_metadata"
    },
    "split_keywords": [],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "111e5a1ebd72f7c6a133e4c1db5401fc60221bf6b4798ce5f40e62b74cfb7e7e",
                "md5": "e3164805738148bab5d0977751b1f955",
                "sha256": "213acaaa51f36c7cb8b7228edb4be5a876c7b82cfbf9840f3903de22ce411990"
            },
            "downloads": -1,
            "filename": "mrio_common_metadata-0.2.1-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "e3164805738148bab5d0977751b1f955",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": null,
            "size": 18398,
            "upload_time": "2023-09-15T14:21:11",
            "upload_time_iso_8601": "2023-09-15T14:21:11.002672Z",
            "url": "https://files.pythonhosted.org/packages/11/1e/5a1ebd72f7c6a133e4c1db5401fc60221bf6b4798ce5f40e62b74cfb7e7e/mrio_common_metadata-0.2.1-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "705eebe242536f4bf8368d8624a6489959c9f8738d5cdd7d322dd288141244fa",
                "md5": "4e89e1f5ce6462159e021d42ead4fedf",
                "sha256": "0d315da7262d3f064346325e4e6739d7cdec255c263d2ce7d54ae3e9732e757c"
            },
            "downloads": -1,
            "filename": "mrio_common_metadata-0.2.1.tar.gz",
            "has_sig": false,
            "md5_digest": "4e89e1f5ce6462159e021d42ead4fedf",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": null,
            "size": 13387,
            "upload_time": "2022-04-28T20:02:06",
            "upload_time_iso_8601": "2022-04-28T20:02:06.533362Z",
            "url": "https://files.pythonhosted.org/packages/70/5e/ebe242536f4bf8368d8624a6489959c9f8738d5cdd7d322dd288141244fa/mrio_common_metadata-0.2.1.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2022-04-28 20:02:06",
    "github": true,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "github_user": "brightway-lca",
    "github_project": "mrio_common_metadata",
    "travis_ci": false,
    "coveralls": false,
    "github_actions": false,
    "requirements": [
        {
            "name": "pyxlsb",
            "specs": []
        },
        {
            "name": "xlrd",
            "specs": []
        },
        {
            "name": "pandas",
            "specs": []
        },
        {
            "name": "scipy",
            "specs": []
        },
        {
            "name": "openpyxl",
            "specs": []
        }
    ],
    "lcname": "mrio-common-metadata"
}
        
Elapsed time: 0.17713s