-
Notifications
You must be signed in to change notification settings - Fork 7
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
convertGDP(replace_NAs) does not work as intended/documented #36
Comments
Oh my... I apologize for this, and thanks for raising the issue. This looks very bad, but I'm 80% certain, that the calculation is actually what is intended. So the documentation is wrong (and the actual implementation also completely misleading). I will check this with @fbenke-pik to be certain, and work on a fix straight away. (It stems from a sloppy implementation of "with_USA" (related to #30), and the argument "use_USA_deflator_fall_all"...) Edit: actually, I think this is very bad, and not what was intended. The default used to be |
This is not what I intended, I was expecting to only use USA conversion factors in cases where no country-specific conversion factor was found. Johannes, can you provide a quick bugfix, or should we switch to another fallback option in |
Thanks for spotting this, Michaja! |
I am going to miss the "is chemicals production in 2070 in Uzbekistan 1.23 times of what it used to be" metric while debugging 😢 |
I am puzzled by
convertGDP(replace_NAs)
. It appears thatconvertGD(…, replace_NAs = "with_USA")
is the default mode, at least within themrremind
package:But it does not opperate as advertised
instead converting all values with the USA factors
Clarification is very much appreciated.
The text was updated successfully, but these errors were encountered: