Difference between revisions of "Cradle through consumer BEA"

From Testiwiki
Jump to: navigation, search
(Dependencies: upload code)
(Dependencies)
Line 15: Line 15:
 
=== Dependencies ===
 
=== Dependencies ===
  
This code is just temporary for uploading the data from an Excel to Opasnet Base.
+
[http://en.opasnet.org/en-opwiki/index.php?title=Cradle_through_consumer_BEA&oldid=31473 Code that was used to upload the data] on 5 Feb 2014.
<rcode variables="
 
name:dat|type:table|
 
name:subset|type:text|
 
name:unit|type:text
 
">
 
library(OpasnetUtils)
 
library(reshape2)
 
  
colnames(dat) <- t(dat[1,])
+
The actual successful runs:
dat <- dat[2:nrow(dat) , ]
+
[http://en.opasnet.org/en-opwiki/index.php?title=Special:RTools&id=YXnuqeZT8o5LcDPW]
oprint(head(dat))
+
[http://en.opasnet.org/en-opwiki/index.php?title=Special:RTools&id=Becopgjetmq8eBI0]
 +
[http://en.opasnet.org/en-opwiki/index.php?title=Special:RTools&id=KDgoitDUzk6nuA9H]
 +
[http://en.opasnet.org/en-opwiki/index.php?title=Special:RTools&id=VndxWbObV6I35V6F]
 +
[http://en.opasnet.org/en-opwiki/index.php?title=Special:RTools&id=GrNTLplN3Kj2kNef]
 +
[http://en.opasnet.org/en-opwiki/index.php?title=Special:RTools&id=lBM5j4tIPrVmJEgL]
 +
[http://en.opasnet.org/en-opwiki/index.php?title=Special:RTools&id=I9Km9dfPUuXtY7k4]
  
dat <- melt(dat, id.vars = 1, variable.name = 'Life cycle stage', value.name = 'Result')
+
The failed runs:
 
+
[http://en.opasnet.org/en-opwiki/index.php?title=Special:RTools&id=cREEbk6w6SWRMewZ]
oprint(head(dat))
+
[http://en.opasnet.org/en-opwiki/index.php?title=Special:RTools&id=ZEj1ZuNwDqMyTQ9g]
 
+
[http://en.opasnet.org/en-opwiki/index.php?title=Special:RTools&id=D2gPElA70AiNPHMR]
opbase.upload(input = dat, ident = "Op_en6286", name = "Cradle through consumer BEA", subset = subset,
+
[http://en.opasnet.org/en-opwiki/index.php?title=Special:RTools&id=nQMv5OOwFTUMsUTw]
obj_type = "variable", act_type = "replace", language = "eng", unit = unit, who = wiki_username)
+
[http://en.opasnet.org/en-opwiki/index.php?title=Special:RTools&id=dry58tgn8BN5lA24]
 
+
[http://en.opasnet.org/en-opwiki/index.php?title=Special:RTools&id=1TQ5Zg5WozZtIx9z]
cat("Data uploaded successfully to Opasnet Base.\n")
+
[http://en.opasnet.org/en-opwiki/index.php?title=Special:RTools&id=a3gAipLU5eRj0jhN]
</rcode>
+
[http://en.opasnet.org/en-opwiki/index.php?title=Special:RTools&id=geQ9pMdY59Zg9if1]
 +
[http://en.opasnet.org/en-opwiki/index.php?title=Special:RTools&id=i8QcAEo3eyGaQgj9]
 +
[http://en.opasnet.org/en-opwiki/index.php?title=Special:RTools&id=aDTeW9kByI1j1gGI]
 +
[http://en.opasnet.org/en-opwiki/index.php?title=Special:RTools&id=lBM5j4tIPrVmJEgL]
  
 
=== Calculations ===
 
=== Calculations ===

Revision as of 15:20, 5 February 2014



Question

What are the life-cycle impacts of products from cradle to consumer?

Answer

Rationale

[1]

Dependencies

Code that was used to upload the data on 5 Feb 2014.

The actual successful runs: [1] [2] [3] [4] [5] [6] [7]

The failed runs: [8] [9] [10] [11] [12] [13] [14] [15] [16] [17] [18]

Calculations

+ Show code

See also

Keywords

References

  1. Greg Norris: Personal communication 31 Jan 2014.

Related files