Difference between revisions of "OpenIO"

From Testiwiki
Jump to: navigation, search
(Created page with "{{variable|moderator=Teemu R|stub=Yes}} Category:Life cycle assessment == Question == OpenIO contains data that is be used in economic input-output life cycle assessment...")
 
m
 
(3 intermediate revisions by the same user not shown)
Line 13: Line 13:
  
 
*Data tables extracted from OpenIO_beta1.5_C2C031711.ana
 
*Data tables extracted from OpenIO_beta1.5_C2C031711.ana
 +
** Direct requirements: DR coefficients
 +
** Elementary flows: Raw Satellite Matrix
 +
 +
=== Total IO requirements Calculation Example ===
 +
<pre>
 +
library(OpasnetUtils)
 +
dr <- opbase.data("Op_en7462", subset = "Direct_requirements")
 +
A <- tapply(dr$Result, dr[c("User", "Maker")], I)
 +
tr <- solve(diag(1, dim(A)[1]) - A)
 +
tr <- as.data.frame(as.table(tr))
 +
colnames(tr) <- c("Selling_sector", "Purchasing_sector", "Result")
 +
</pre>
  
 
==See also==
 
==See also==

Latest revision as of 16:57, 18 March 2016

Question

OpenIO contains data that is be used in economic input-output life cycle assessment.

Answer

Show results


Rationale

  • Data tables extracted from OpenIO_beta1.5_C2C031711.ana
    • Direct requirements: DR coefficients
    • Elementary flows: Raw Satellite Matrix

Total IO requirements Calculation Example

library(OpasnetUtils)
dr <- opbase.data("Op_en7462", subset = "Direct_requirements")
A <- tapply(dr$Result, dr[c("User", "Maker")], I)
tr <- solve(diag(1, dim(A)[1]) - A)
tr <- as.data.frame(as.table(tr))
colnames(tr) <- c("Selling_sector", "Purchasing_sector", "Result")

See also

Keywords

References


Related files