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

From blackwiki
Jump to navigation Jump to search
blackwiki>Djr13
(tweak for consistency with Template:Inflation/AU-road/dataset)
blackwiki>Betty Logan
(Undid revision 709657659 by Djr13 (talk) This is causing problems where 2016 dates are used (see List of box office bombs))
Line 1: Line 1:
 
{{#switch:{{{1}}}
 
{{#switch:{{{1}}}
| 1800 = 51
+
| 1800 = 51
| 1801 = 50
+
| 1801 = 50
| 1802 = 43
+
| 1802 = 43
| 1803 = 45
+
| 1803 = 45
| 1804 = 45
+
| 1804 = 45
| 1805 = 45
+
| 1805 = 45
| 1806 = 47
+
| 1806 = 47
| 1807 = 44
+
| 1807 = 44
| 1808 = 48
+
| 1808 = 48
| 1809 = 47
+
| 1809 = 47
| 1810 = 47
+
| 1810 = 47
| 1811 = 50
+
| 1811 = 50
| 1812 = 51
+
| 1812 = 51
| 1813 = 58
+
| 1813 = 58
| 1814 = 63
+
| 1814 = 63
| 1815 = 55
+
| 1815 = 55
| 1816 = 51
+
| 1816 = 51
| 1817 = 48
+
| 1817 = 48
| 1818 = 46
+
| 1818 = 46
| 1819 = 46
+
| 1819 = 46
| 1820 = 42
+
| 1820 = 42
| 1821 = 40
+
| 1821 = 40
| 1822 = 40
+
| 1822 = 40
| 1823 = 36
+
| 1823 = 36
| 1824 = 33
+
| 1824 = 33
| 1825 = 34
+
| 1825 = 34
| 1826 = 34
+
| 1826 = 34
| 1827 = 34
+
| 1827 = 34
| 1828 = 33
+
| 1828 = 33
| 1829 = 32
+
| 1829 = 32
| 1830 = 32
+
| 1830 = 32
| 1831 = 32
+
| 1831 = 32
| 1832 = 30
+
| 1832 = 30
| 1833 = 29
+
| 1833 = 29
| 1834 = 30
+
| 1834 = 30
| 1835 = 31
+
| 1835 = 31
| 1836 = 33
+
| 1836 = 33
| 1837 = 34
+
| 1837 = 34
| 1838 = 32
+
| 1838 = 32
| 1839 = 32
+
| 1839 = 32
| 1840 = 30
+
| 1840 = 30
| 1841 = 31
+
| 1841 = 31
| 1842 = 29
+
| 1842 = 29
| 1843 = 28
+
| 1843 = 28
| 1844 = 28
+
| 1844 = 28
| 1845 = 28
+
| 1845 = 28
| 1846 = 27
+
| 1846 = 27
| 1847 = 28
+
| 1847 = 28
| 1848 = 26
+
| 1848 = 26
| 1849 = 25
+
| 1849 = 25
| 1850 = 25
+
| 1850 = 25
| 1851 = 25
+
| 1851 = 25
| 1852 = 25
+
| 1852 = 25
| 1853 = 25
+
| 1853 = 25
| 1854 = 27
+
| 1854 = 27
| 1855 = 28
+
| 1855 = 28
| 1856 = 27
+
| 1856 = 27
| 1857 = 28
+
| 1857 = 28
| 1858 = 26
+
| 1858 = 26
| 1859 = 27
+
| 1859 = 27
| 1860 = 27
+
| 1860 = 27
| 1861 = 27
+
| 1861 = 27
| 1862 = 30
+
| 1862 = 30
| 1863 = 37
+
| 1863 = 37
| 1864 = 47
+
| 1864 = 47
| 1865 = 46
+
| 1865 = 46
| 1866 = 44
+
| 1866 = 44
| 1867 = 42
+
| 1867 = 42
| 1868 = 40
+
| 1868 = 40
| 1869 = 40
+
| 1869 = 40
| 1870 = 38
+
| 1870 = 38
| 1871 = 36
+
| 1871 = 36
| 1872 = 36
+
| 1872 = 36
| 1873 = 36
+
| 1873 = 36
| 1874 = 34
+
| 1874 = 34
| 1875 = 33
+
| 1875 = 33
| 1876 = 32
+
| 1876 = 32
| 1877 = 32
+
| 1877 = 32
| 1878 = 29
+
| 1878 = 29
| 1879 = 28
+
| 1879 = 28
| 1880 = 29
+
| 1880 = 29
| 1881 = 29
+
| 1881 = 29
| 1882 = 29
+
| 1882 = 29
| 1883 = 28
+
| 1883 = 28
| 1884 = 27
+
| 1884 = 27
| 1885 = 27
+
| 1885 = 27
| 1886 = 27
+
| 1886 = 27
| 1887 = 27
+
| 1887 = 27
| 1888 = 27
+
| 1888 = 27
| 1889 = 27
+
| 1889 = 27
| 1890 = 27
+
| 1890 = 27
| 1891 = 27
+
| 1891 = 27
| 1892 = 27
+
| 1892 = 27
| 1893 = 27
+
| 1893 = 27
| 1894 = 26
+
| 1894 = 26
| 1895 = 25
+
| 1895 = 25
| 1896 = 25
+
| 1896 = 25
| 1897 = 25
+
| 1897 = 25
| 1898 = 25
+
| 1898 = 25
| 1899 = 25
+
| 1899 = 25
| 1900 = 25
+
| 1900 = 25
| 1901 = 25
+
| 1901 = 25
| 1902 = 26
+
| 1902 = 26
| 1903 = 27
+
| 1903 = 27
| 1904 = 27
+
| 1904 = 27
| 1905 = 27
+
| 1905 = 27
| 1906 = 27
+
| 1906 = 27
| 1907 = 28
+
| 1907 = 28
| 1908 = 27
+
| 1908 = 27
| 1909 = 27
+
| 1909 = 27
| 1910 = 28
+
| 1910 = 28
| 1911 = 28
+
| 1911 = 28
| 1912 = 29
+
| 1912 = 29
| 1913 = 29.7
+
| 1913 = 29.7
| 1914 = 30.1
+
| 1914 = 30.1
| 1915 = 30.4
+
| 1915 = 30.4
| 1916 = 32.7
+
| 1916 = 32.7
| 1917 = 38.5
+
| 1917 = 38.5
| 1918 = 45.2
+
| 1918 = 45.2
| 1919 = 52.1
+
| 1919 = 52.1
| 1920 = 60.2
+
| 1920 = 60.2
| 1921 = 53.6
+
| 1921 = 53.6
| 1922 = 50.3
+
| 1922 = 50.3
| 1923 = 51.2
+
| 1923 = 51.2
| 1924 = 51.5
+
| 1924 = 51.5
| 1925 = 52.7
+
| 1925 = 52.7
| 1926 = 53.2
+
| 1926 = 53.2
| 1927 = 52.2
+
| 1927 = 52.2
| 1928 = 51.6
+
| 1928 = 51.6
| 1929 = 51.6
+
| 1929 = 51.6
| 1930 = 50.2
+
| 1930 = 50.2
| 1931 = 45.7
+
| 1931 = 45.7
| 1932 = 41.0
+
| 1932 = 41.0
| 1933 = 38.9
+
| 1933 = 38.9
| 1934 = 40.2
+
| 1934 = 40.2
| 1935 = 41.2
+
| 1935 = 41.2
| 1936 = 41.7
+
| 1936 = 41.7
| 1937 = 43.2
+
| 1937 = 43.2
| 1938 = 42.3
+
| 1938 = 42.3
| 1939 = 41.8
+
| 1939 = 41.8
| 1940 = 42.1
+
| 1940 = 42.1
| 1941 = 44.2
+
| 1941 = 44.2
| 1942 = 49.1
+
| 1942 = 49.1
| 1943 = 52.0
+
| 1943 = 52.0
| 1944 = 52.9
+
| 1944 = 52.9
| 1945 = 54.1
+
| 1945 = 54.1
| 1946 = 58.6
+
| 1946 = 58.6
| 1947 = 67.1
+
| 1947 = 67.1
| 1948 = 72.2
+
| 1948 = 72.2
| 1949 = 71.5
+
| 1949 = 71.5
| 1950 = 72.3
+
| 1950 = 72.3
| 1951 = 78.0
+
| 1951 = 78.0
| 1952 = 79.8
+
| 1952 = 79.8
| 1953 = 80.4
+
| 1953 = 80.4
| 1954 = 80.7
+
| 1954 = 80.7
| 1955 = 80.5
+
| 1955 = 80.5
| 1956 = 81.7
+
| 1956 = 81.7
| 1957 = 84.4
+
| 1957 = 84.4
| 1958 = 86.7
+
| 1958 = 86.7
| 1959 = 87.6
+
| 1959 = 87.6
| 1960 = 88.9
+
| 1960 = 88.9
| 1961 = 89.8
+
| 1961 = 89.8
| 1962 = 90.9
+
| 1962 = 90.9
| 1963 = 92.0
+
| 1963 = 92.0
| 1964 = 93.2
+
| 1964 = 93.2
| 1965 = 94.7
+
| 1965 = 94.7
| 1966 = 97.5
+
| 1966 = 97.5
 
| 1967 = 100.2
 
| 1967 = 100.2
 
| 1968 = 104.5
 
| 1968 = 104.5
Line 215: Line 215:
 
| 2013 = 700.0
 
| 2013 = 700.0
 
| 2014 = 711.4
 
| 2014 = 711.4
| 2015 |#default= 711.1
+
| 711.1 <!-- When changing this, also change the corresponding "Retrieved" date in Template:Inflation-fn. -->
<!-- *** When changing this, also update the reference in [[Template:Inflation-fn]] and the latest year in [[Template:Inflation-year]]! *** -->
 
 
}}<noinclude>{{documentation|Template:Inflation/doc/cpi}}[[Category:Data templates|United States Inflation]]</noinclude>
 
}}<noinclude>{{documentation|Template:Inflation/doc/cpi}}[[Category:Data templates|United States Inflation]]</noinclude>

Revision as of 00:58, 13 March 2016

711.1

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

This sub-template returns the associated country's CPI for a specific year. It is used by {{Inflation/US}} 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 Consumer Price Index (estimate) 1800–, Federal Reserve Bank of Minneapolis.

Usage

{{Inflation/US/dataset|year}}

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

See also