Difference between revisions of "Template:Inflation/ZAR/dataset"

From blackwiki
Jump to navigation Jump to search
imported>Galobtter
(fix default)
imported>Eyesnore
(use OECD as data source)
 
Line 1: Line 1:
 
{{#switch:{{{1}}}
 
{{#switch:{{{1}}}
| 1960 = 1.69
+
|1960=1.360575449969
| 1961 = 1.70
+
|1961=1.389179525818
| 1962 = 1.74
+
|1962=1.406492519096
| 1963 = 1.77
+
|1963=1.425310990050
| 1964 = 1.81
+
|1964=1.461442454282
| 1965 = 1.88
+
|1965=1.520908822496
| 1966 = 1.95
+
|1966=1.573976910586
| 1967 = 2.02
+
|1967=1.629679584610
| 1968 = 2.06
+
|1968=1.662047354650
| 1969 = 2.13
+
|1969=1.715868181579
| 1970 = 2.21
+
|1970=1.801521937794
| 1971 = 2.34
+
|1971=1.908846648982
| 1972 = 2.49
+
|1972=2.031503461768
| 1973 = 2.73
+
|1973=2.223154731746
| 1974 = 3.05
+
|1974=2.483800458916
| 1975 = 3.43
+
|1975=2.817273668678
| 1976 = 3.80
+
|1976=3.127748726042
| 1977 = 4.23
+
|1977=3.476554037403
| 1978 = 4.70
+
|1978=3.863689602758
| 1979 = 5.32
+
|1979=4.377315006300
| 1980 = 6.05
+
|1980=4.975266968631
| 1981 = 6.98
+
|1981=5.734205997745
| 1982 = 8.00
+
|1982=6.573638560249
| 1983 = 8.98
+
|1983=7.382406919556
| 1984 = 10.02
+
|1984=8.233338558259
| 1985 = 11.65
+
|1985=9.574897448105
| 1986 = 13.82
+
|1986=11.361087284301
| 1987 = 16.05
+
|1987=13.197106450691
| 1988 = 18.11
+
|1988=14.883637626499
| 1989 = 20.77
+
|1989=17.076128155048
| 1990 = 23.75
+
|1990=19.521598359968
| 1991 = 27.39
+
|1991=22.515191197026
| 1992 = 31.19
+
|1992=25.639106897669
| 1993 = 34.22
+
|1993=28.130573407384
| 1994 = 37.28
+
|1994=30.645038069497
| 1995 = 40.51
+
|1995=33.305157696793
| 1996 = 43.49
+
|1996=35.754460927113
| 1997 = 47.23
+
|1997=38.828547297561
| 1998 = 50.48
+
|1998=41.500166001056
| 1999 = 53.10
+
|1999=43.650493250210
| 2000 = 55.93
+
|2000=45.980972693144
| 2001 = 59.12
+
|2001=48.602762066444
| 2002 = 64.54
+
|2002=53.217453301501
| 2003 = 68.32
+
|2003=56.239895583812
| 2004 = 69.27
+
|2004=55.850698104257
| 2005 = 71.63
+
|2005=57.002814354484
| 2006 = 74.95
+
|2006=58.851932276489
| 2007 = 80.27
+
|2007=62.487690174591
| 2008 = 89.53
+
|2008=68.771005540921
| 2009 = 95.92
+
|2009=73.766917976201
| 2010 = 100.00
+
|2010=76.764465437369
| 2011 = 105.00
+
|2011=80.615859751113
| 2012 = 110.94
+
|2012=85.230266145881
| 2013 = 117.32
+
|2013=90.153510763920
| 2014 = 124.44
+
|2014=95.685348351349
| 2015 = 130.14
+
|2015=100.000000000000
| 2016 |#default= 138.38
+
|2016=106.594604414570
 +
|2017=112.117358524843
 +
|2018|#default=117.167771823054
 
<!-- *** When changing this, also update the reference in [[Template:Inflation-fn]] and [[Template:Inflation/doc/cpi-zar]] and the latest year in [[Template:Inflation-year]]! *** -->
 
<!-- *** When changing this, also update the reference in [[Template:Inflation-fn]] and [[Template:Inflation/doc/cpi-zar]] and the latest year in [[Template:Inflation-year]]! *** -->
 
}}<noinclude>{{documentation|Template:Inflation/doc/cpi-zar}}[[Category:Data templates|South Africa Inflation]]</noinclude>
 
}}<noinclude>{{documentation|Template:Inflation/doc/cpi-zar}}[[Category:Data templates|South Africa Inflation]]</noinclude>

Latest revision as of 20:09, 13 January 2020

117.167771823054

Template documentation[view] [edit] [history] [purge]

This sub-template returns the associated country's CPI for a specific year. It's used by {{Inflation/ZAR}} for calculating the inflation rate between two given years, which in turn is used by {{Inflation}} to calculate inflated values. It usually isn't meant to be called directly. The information in this dataset is manually input from OECD data files using Template:URL.

Usage

{{Inflation/ZAR/dataset|year}}

Providing no parameter or providing an invalid parameter will result in the "default" CPI, what usually means the latest one.

See also