SeriesGDPPCPPPCUR2011ICP
The conversion of GDP at Purchasing Power Parity from one currency year to another requires some data manipulation and data from multiple sources. Sources and processes are outlined below.
Data sources
GDP and Population data are supplied by https://tntcat.iiasa.ac.at/SspDb/dsd?Action=htmlpage&page=60. The format for GDP is in billions of 2005 US Dollars.
To convert from 2005 to 2011 dollars, two additional pieces of data must be brought, both available from the World Bank. The first is the GDP deflator, available at https://data.worldbank.org/indicator/NY.GDP.DEFL.KD.ZG
The second is the PPP conversion factor, available at https://data.worldbank.org/indicator/PA.NUS.PPP
Both of the World Bank statistics must be pulled in the initial and target currency year, in this case 2005 and 2011.
Data Manipulation
The GDP Deflator is a measure of inflation; the conversion of GDP from 2005 to 2011 requires 2005 dollars to be divided by the deflator in 2005 and multiplied by the deflator in 2011. Conversely, the GDP must be multiplied by the 2005 PPP conversion factor and divided by the 2011 conversion factor. Thus, the formula for conversion to 2011 dollars is:
For per capita GDP at PPP calculations, this must be divided by population.