calcRatioPPP2MER: Get PPP-to-MER conversion factors.

View source: R/calcRatioPPP2MER.R

calcRatioPPP2MERR Documentation

Get PPP-to-MER conversion factors.

Description

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'.

Usage

calcRatioPPP2MER(
  year = as.numeric(mrdrivers::toolGetUnitDollar(returnOnlyBase = TRUE))
)

Arguments

year

An integer specifying the base year of conversion factor. Defaults to the base year of mrdrivers::toolGetUnitDollar(), currently: 2017.

Details

Missing conversion factors are set to 1 and regional aggregation is weighed by GDP from WDI-MI-James.

Value

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.

See Also

madrat::calcOutput()

Examples

## Not run: 
calcOutput("RatioPPP2MER")

## End(Not run)

pik-piam/mrremind documentation built on April 12, 2025, 12:02 a.m.