-
Notifications
You must be signed in to change notification settings - Fork 30
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
readIEA() drop all data for USSR #43
Comments
@0UmfHxcvx5J7JoaOhFSs5mncnisTJJ6q Just to be sure, you want to have the USSR (aka "SUN") data removed altogether for readSource("IEA", subtype = "EnergyBalances"), right? Or do you want it to be disaggregated into SUN countries? |
It is being dropped right now. I always assumed there was no data from the USSR in the IEA balances, because I always looked at the output of this function before. That was my mistake. |
Ok, thanks for clarification. I had a closer look. There is a madrat function toolISOhistorical applied that should take care of resolving data of regions that no longer exist like USSR. Problem is, the function uses as weight the values of the "transition year", in the case of USSR 1991. Since this is NA in the sources, the historical data just gets 0s as weights and is effectively removed. I can think of two ways to fix this and would like @LaviniaBaumstark to pick one, as she is the author of toolISOhistorical.
|
|
|
besides, 3) can already be achieved by changing the transition year passed with the argument "mapping" |
I finished implementation. @0UmfHxcvx5J7JoaOhFSs5mncnisTJJ6q since the magclass object is really big, any idea how i can test locally before submitting the PRs for review? i.e. any variables you care about in particular for which i should check if the disaggregation worked? |
Don't.
Then look at the results at leisure. |
Should be solved by PR #44 |
mrcommons/R/readIEA.R
Line 25 in 8768783
The text was updated successfully, but these errors were encountered: