DataBrighten

    Nonrenewable natural capital, metals and minerals: tin (real chained 2019 US$)

    3,599 × 6rows × columns: 140 countries, 1995 to 2020

    Real data: World Bank, Wealth Accounts, indicator NW.NCA.MTIN.TO, retrieved 19 November 2026. Values are as published; we only reshaped the file.

    textnumberdateyes/no
    Rows3,599country-year values
    Countries140with at least one value
    Years1995 – 202026 years with data
    LicenceCC BY 4.0credit the World Bank

    What it measures

    Nonrenewable natural capital includes assets such as oil, natural gas, coal, and metals and minerals (bauxite, copper, gold, iron ore, lead, nickel, phosphate, silver, tin, cobalt, molybdenum, platinum, and lithium). The values are reported in real chained 2019 US dollars, calculated using the Törnqvist volume index method. Individual sub-components of nonrenewable natural capital are not calculated using the Törnqvist index, as their trends follow changes in physical volumes expressed in real 2019 chained US dollars.

    The numbers in 2020

    In 2020, 140 countries have a value. At the top, 140 countries tie at 0 (e.g. Albania, Angola, Argentina); at the bottom, 140 countries tie at 0 (e.g. Albania, Angola, Argentina). The median country value is 0.

    Highest, 2020

    Ties are listed A to Z.

    #CountryValue
    1Albania0
    2Angola0
    3Argentina0
    4Armenia0
    5Australia0
    6Austria0
    7Azerbaijan0
    8Bahrain0
    9Bangladesh0
    10Belarus0

    Lowest, 2020

    Ties are listed A to Z.

    #CountryValue
    1Zambia0
    2Viet Nam0
    3Uruguay0
    4United States0
    5United Arab Emirates0
    6Ukraine0
    7Uganda0
    8Turkiye0
    9Tunisia0
    10Trinidad and Tobago0
    How many countries report, by decade
    DecadeMost countries in one year
    1990s137
    2000s139
    2010s140
    2020s140

    First rows

    nonrenewable-natural-capital-metals-and-minerals-tin-real-chained-2019-usd.csv

    countrytextiso3textregiontextincome_grouptextyearnumbervaluenumber
    AlbaniaALBEurope & Central AsiaUpper middle income19950
    AlbaniaALBEurope & Central AsiaUpper middle income19960
    AlbaniaALBEurope & Central AsiaUpper middle income19970
    AlbaniaALBEurope & Central AsiaUpper middle income19980
    AlbaniaALBEurope & Central AsiaUpper middle income19990
    AlbaniaALBEurope & Central AsiaUpper middle income20000
    AlbaniaALBEurope & Central AsiaUpper middle income20010
    AlbaniaALBEurope & Central AsiaUpper middle income20020

    Data dictionary

    ColumnTypeMeaning
    countrytextCountry or economy, World Bank name
    iso3textISO 3166-1 alpha-3 code
    regiontextWorld Bank region
    income_grouptextWorld Bank income group
    yearnumberCalendar year of the value
    valuenumberNonrenewable natural capital, metals and minerals: tin (real chained 2019 US$), exactly as the World Bank API returns it (not rounded)

    Only country-years with a value are in the long file; blank cells in the wide file mean no value was published.

    Practice questions

    answers computed from the file

    Which country has the highest value in 2020?

    There is a tie: 140 countries share the highest value, 0 (for example Albania, Angola, Argentina).

    Excel (on the long CSV: E = year, F = value)

    =FILTER(A2:A100000,(E2:E100000=2020)*(F2:F100000=MAXIFS(F2:F100000,E2:E100000,2020)))

    SQL (table wb = the CSV)

    SELECT country, value FROM wb WHERE year = 2020
      AND value = (SELECT MAX(value) FROM wb WHERE year = 2020);

    pandas (df = pd.read_csv("nonrenewable-natural-capital-metals-and-minerals-tin-real-chained-2019-usd.csv"))

    y = df[df.year == 2020]
    y[y.value == y.value.max()][["country", "value"]]

    File: nonrenewable-natural-capital-metals-and-minerals-tin-real-chained-2019-usd.csv

    How many countries report a value for 2020?

    140 of the 217 economies in the file's country list.

    Excel (on the long CSV: E = year, F = value)

    =COUNTIF(E2:E100000,2020)

    SQL (table wb = the CSV)

    SELECT COUNT(*) FROM wb WHERE year = 2020;

    pandas (df = pd.read_csv("nonrenewable-natural-capital-metals-and-minerals-tin-real-chained-2019-usd.csv"))

    (df.year == 2020).sum()

    File: nonrenewable-natural-capital-metals-and-minerals-tin-real-chained-2019-usd.csv

    What is the median across countries in 2020?

    0 (median of the 140 country values; not a World Bank aggregate).

    Excel (on the long CSV: E = year, F = value)

    =MEDIAN(FILTER(F2:F100000,E2:E100000=2020))

    SQL (table wb = the CSV)

    -- SQLite has no MEDIAN(); this picks the middle value(s)
    SELECT AVG(value) FROM (SELECT value FROM wb WHERE year = 2020 ORDER BY value
      LIMIT 2 - (SELECT COUNT(*) FROM wb WHERE year = 2020) % 2
      OFFSET (SELECT (COUNT(*) - 1) / 2 FROM wb WHERE year = 2020));

    pandas (df = pd.read_csv("nonrenewable-natural-capital-metals-and-minerals-tin-real-chained-2019-usd.csv"))

    df[df.year == 2020]["value"].median()

    File: nonrenewable-natural-capital-metals-and-minerals-tin-real-chained-2019-usd.csv

    Which country rose the most between 2010 and 2020?

    Albania: from 0 to 0, a rise of 0 (out of 139 countries with both years).

    Excel (on the long CSV: E = year, F = value)

    Use the wide file (nonrenewable-natural-capital-metals-and-minerals-tin-real-chained-2019-usd-wide.csv): add a column = [2020] - [2010], then sort it largest to smallest.

    SQL (table wb = the CSV)

    SELECT a.country, b.value - a.value AS rise FROM wb a JOIN wb b ON a.iso3 = b.iso3
    WHERE a.year = 2010 AND b.year = 2020 ORDER BY rise DESC LIMIT 1;

    pandas (df = pd.read_csv("nonrenewable-natural-capital-metals-and-minerals-tin-real-chained-2019-usd.csv"))

    w = df.pivot(index="country", columns="year", values="value")
    (w[2020] - w[2010]).dropna().nlargest(1)

    File: nonrenewable-natural-capital-metals-and-minerals-tin-real-chained-2019-usd.csv

    Which year has the most countries reporting?

    2020, with 140 countries.

    Excel (on the long CSV: E = year, F = value)

    Make a pivot table: year in Rows, Count of value in Values, then sort by the count.

    SQL (table wb = the CSV)

    SELECT year, COUNT(*) AS n FROM wb GROUP BY year ORDER BY n DESC, year DESC LIMIT 1;

    pandas (df = pd.read_csv("nonrenewable-natural-capital-metals-and-minerals-tin-real-chained-2019-usd.csv"))

    df.groupby("year").size().sort_values(ascending=False).head(1)

    File: nonrenewable-natural-capital-metals-and-minerals-tin-real-chained-2019-usd.csv