View source: R/calcRatioPPP2MER.R
calcRatioPPP2MER | R Documentation |
calcRatioPPP2MER returns conversion factors from the World Bank's WDI to convert monetary values (in constant units
with base year equal to the year
argument) from PPP to MER. So for example from 'constant 2017 Int$PPP' to
'constant 2017 US$MER'.
calcRatioPPP2MER(
year = as.numeric(mrdrivers::toolGetUnitDollar(returnOnlyBase = TRUE))
)
year |
An integer specifying the base year of conversion factor. Defaults to the base year of
|
Missing conversion factors are set to 1 and regional aggregation is weighed by GDP from WDI-MI-James.
magpie object with the requested output data either on country or on regional level depending on the choice of argument "aggregate" or a list of information if supplementary is set to TRUE.
madrat::calcOutput()
## Not run:
calcOutput("RatioPPP2MER")
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.