Air pollution emissions in Helsinki: Difference between revisions
Jump to navigation
Jump to search
(→Calculations: now seems to work) |
|||
Line 26: | Line 26: | ||
The actual data: (key is unique to every download instance and is generated when the above link is opened) - http://cl1.opasnet.org/opasnet_base_2/index.php?key=8dYqLbtppz4HM7sYaAyj4t6S49jQNRWJ | The actual data: (key is unique to every download instance and is generated when the above link is opened) - http://cl1.opasnet.org/opasnet_base_2/index.php?key=8dYqLbtppz4HM7sYaAyj4t6S49jQNRWJ | ||
<rcode name="fuelUse" label="Initiate ovariable fuelUse" embed=1> | <rcode name="fuelUse" label="Initiate ovariable fuelUse (for developers only)" embed=1> | ||
# This is code Op_en7923/fuelUse on page [[Air pollution emissions in Helsinki]] | # This is code Op_en7923/fuelUse on page [[Air pollution emissions in Helsinki]] | ||
library(OpasnetUtils) | library(OpasnetUtils) | ||
Line 37: | Line 37: | ||
), | ), | ||
formula = function(...) { | formula = function(...) { | ||
HSYdata$CO2 <- NULL | |||
levels(HSYdata$Sector) <- tolower(levels(HSYdata$Sector)) | levels(HSYdata$Sector) <- tolower(levels(HSYdata$Sector)) | ||
levels(HSYdata$Consumer) <- tolower(levels(HSYdata$Consumer)) | levels(HSYdata$Consumer) <- tolower(levels(HSYdata$Consumer)) | ||
Line 51: | Line 49: | ||
</rcode> | </rcode> | ||
<rcode name="emission" label="Initiate ovariable emission" embed=1> | <rcode name="emission" label="Initiate ovariable emission (for developers only)" embed=1> | ||
# This is code Op_en7923/emission on page [[Air pollution emissions in Helsinki]] | # This is code Op_en7923/emission on page [[Air pollution emissions in Helsinki]] | ||
library(OpasnetUtils) | library(OpasnetUtils) | ||
Line 84: | Line 82: | ||
ggplot(emission@output, aes(x=Year, weight=emissionResult, fill=Sector))+geom_bar()+ | ggplot(emission@output, aes(x=Year, weight=emissionResult, fill=Sector))+geom_bar()+ | ||
facet_wrap(~City, scales="free_y") | facet_wrap(~City, scales="free_y")+ | ||
theme_gray(base_size=20)+ | |||
labs(y="CO2eq emissions (kton/a)") | |||
opbase.upload( | opbase.upload( |
Revision as of 12:11, 29 November 2018
Moderator:Nobody (see all) Click here to sign up. |
This page is a stub. You may improve it into a full page. |
Upload data
|
Air pollution emissions in Helsinki estimate direct air pollution emissions (including CO2eq) from the Helsinki area.
Question
What are the amounts of air pollution (notably CO2eq and PM2.5) emitted from the Helsinki area (Helsinki specifically but also other municipalities of the Helsinki Metropolitan Area)?
Answer
Rationale
Dependencies
Calculations
The answer metadata can be obtained by using link: http://cl1.opasnet.org/opasnet_base_2/index.php?ident=op_en7923.answer&act=0
The actual data: (key is unique to every download instance and is generated when the above link is opened) - http://cl1.opasnet.org/opasnet_base_2/index.php?key=8dYqLbtppz4HM7sYaAyj4t6S49jQNRWJ