Cradle through consumer BEA: Difference between revisions
Jump to navigation
Jump to search
(→Dependencies: upload code) |
|||
Line 14: | Line 14: | ||
=== Dependencies === | === Dependencies === | ||
This code is just temporary for uploading the data from an Excel to Opasnet Base. | |||
<rcode variables=" | |||
name:dat|type:table| | |||
name:subset|type:text| | |||
name:unit|type:text | |||
"> | |||
library(OpasnetUtils) | |||
library(reshape2) | |||
colnames(dat) <- t(dat[1,]) | |||
dat <- dat[2:nrow(dat) , ] | |||
oprint(head(dat)) | |||
dat <- melt(dat, id.vars = 1, variable.name = 'Life cycle stage', value.name = 'Result') | |||
oprint(head(dat)) | |||
opbase.upload(input = dat, ident = "Op_en6286", name = "Cradle through consumer BEA", subset = subset, | |||
obj_type = "variable", act_type = "replace", language = "eng", unit = unit, who = wiki_username) | |||
cat("Data uploaded successfully to Opasnet Base.\n") | |||
</rcode> | |||
=== Calculations === | === Calculations === |
Revision as of 14:39, 5 February 2014
Moderator:Jouni (see all) |
|
Upload data
|
Question
What are the life-cycle impacts of products from cradle to consumer?
Answer
Rationale
Dependencies
This code is just temporary for uploading the data from an Excel to Opasnet Base.
Calculations
See also
Keywords
References
- ↑ Greg Norris: Personal communication 31 Jan 2014.