Giter Site home page Giter Site logo

mrio's Introduction

Methods on prevention of double-counting and constructing characterization factors were taken from:

Cabernard, L., Pfister, S., & Hellweg, S. (2019). A new method for analyzing sustainability performance of global supply chains and its application to material resources. Science of The Total Environment, 684, 164–177. https://doi.org/10.1016/j.scitotenv.2019.04.434

Matlab Tool:

https://data.mendeley.com/datasets/nddmgkm3cc/1

Work with MRIO data

This R-package provides various methods for environmentally-extended multi-regional input–output (EE-MRIO) analysis. It offers different methods for calculating EEMRIO matrices and includes a set of diverse characterization factors.

  • supports EXIOBASE3 and Eora
  • characterization factors:
    • biodiversity loss "bl" (currently only for Exiobase)
    • blue water consumption "bw"
    • climate change impacts "cc"
    • energy demand "en"
    • land use "lu"
    • material footprint "mf"
    • water stress "ws" (currently only for Exiobase)
  • calculate:
    • production to demand matrix "pd"
    • production to target demand matrix "no-double-pt"
    • target to final supply matrix "no-double-ts"
    • target to final demand matrix "no-double-td"
    • production to final demand matrix "no-double-pd"
  • create country dyads

First Steps

1 Install MRIO-Package

install.packages("remotes")
remotes::install_github("dvp17/mrio")

2 Calculate Matrix

Before you begin, set your working directory to the path where you store your Eora and Exiobase files:

e.g. setwd("C:/Data/Exiobase") or setwd("C:/Data/Eora")

setwd("C:/Data/Exiobase")
exio_cc <- mrio::exioloop(1995:2000, "cc", "pd")
utils::View(exio_cc[1:100,])

Please be aware that the process of calculating the matrices will take some time.

3 Create Dyads

setwd("C:/Data/Exiobase")
exio_cc_dyad <- mrio::dyads(1995:1996, exio_cc)
utils::View(exio_cc_dyad[1:100,])

Attention: The construction of dyads can be time-consuming. Please notice that no progress bar or estimated time for process completion is given before.

4 Look Into Characterization Factors

For additional information on which extensions are included for which environmental impact, have a look on the characterization factors listed in the package. Notice that calculation of water stress and biodiversity loss is a little more complex, which makes it difficult to provide a simple list on those CFs.

utils::View(mrio::cf_eora)
utils::View(mrio::cf_eora[mrio::cf_eora$cf_cc > 0,])

Recent Advancements

  • added processing of pxp-matrices for EXIOBASE3

Plan

  • add WIOD data
  • add bl and ws for Eora
  • add bl for pxp-matrices
  • include social indicators
  • structural path calculation?
  • implement function to download data automatically

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.