DataBrighten

    Agricultural raw materials imports (% of merchandise imports)

    8,084 × 6rows × columns: 198 countries, 1962 to 2025

    Real data: World Bank, World Development Indicators, indicator TM.VAL.AGRI.ZS.UN, retrieved 19 November 2026. Values are as published; we only reshaped the file.

    textnumberdateyes/no
    Rows8,084country-year values
    Countries198with at least one value
    Years1962 – 202564 years with data
    LicenceCC BY 4.0credit the World Bank

    What it measures

    Agricultural raw materials comprise section 2 of SITC Rev. 3 (crude materials, inedible, except fuels) excluding divisions 22 (oil-seeds and oleaginous fruits), 27 (crude fertilizers and minerals excluding coal, petroleum, and precious stones), and 28 (metalliferous ores and scrap). This indicator is expressed as a percentage of merchandise imports which is comprised of goods whose economic ownership is changed between a non-resident and a resident and that are not included in the following specific categories: goods under merchanting, non-monetary gold, and parts of travel, construction, and government goods and services n.i.e.

    Limits and exceptions (World Bank note)

    Previous editions contained data based on the SITC revision 1. Data for earlier years in previous editions may differ because of the change in methodology. Concordance tables are available to convert data reported in one system to another.

    The numbers in 2024

    In 2024, 138 countries have a value. The highest is Pakistan (4.34); the lowest is Brunei Darussalam (0.0535). The median country value is 0.951. The World Bank's World aggregate for 2025 is 1.16.

    Top 10 countries, 2024

    % of merchandise imports

    Source: World Bank, TM.VAL.AGRI.ZS.UN, retrieved 19 November 2026. Computed from agricultural-raw-materials-imports-percent-of-merchandise-imports.csv.

    Highest, 2024

    #CountryValue
    1Pakistan4.34
    2Cambodia2.97
    3Estonia2.68
    4Malawi2.67
    5China2.66
    6Samoa2.31
    7Madagascar2.28
    8Latvia2.2
    9Egypt, Arab Rep.2.1
    10Antigua and Barbuda2.09

    Lowest, 2024

    #CountryValue
    1Brunei Darussalam0.0535
    2Guyana0.0765
    3Hong Kong SAR, China0.0913
    4Suriname0.106
    5Macao SAR, China0.143
    6Singapore0.208
    7Malta0.218
    8Mauritania0.259
    9Zimbabwe0.313
    10Iraq0.32
    How many countries report, by decade
    DecadeMost countries in one year
    1960s88
    1970s122
    1980s117
    1990s150
    2000s174
    2010s177
    2020s167

    World aggregate by year

    As published by the World Bank (in the regions file, not the country file).

    YearWorld
    20251.16
    20241.2
    20231.18
    20221.33
    20211.4
    20201.35
    20191.38
    20181.49
    20171.53
    20161.55
    20151.56
    20141.51

    By region, 2024

    World Bank regionValue
    East Asia & Pacific1.56
    South Asia1.55
    Europe & Central Asia1.18
    Sub-Saharan Africa 1.02
    Latin America & Caribbean 0.833
    North America0.81

    First rows

    agricultural-raw-materials-imports-percent-of-merchandise-imports.csv

    countrytextiso3textregiontextincome_grouptextyearnumbervaluenumber
    AfghanistanAFGMiddle East, North Africa, Afghanistan & PakistanLow income19620.966616617277391
    AfghanistanAFGMiddle East, North Africa, Afghanistan & PakistanLow income19631.3944379643121
    AfghanistanAFGMiddle East, North Africa, Afghanistan & PakistanLow income19641.49823370063427
    AfghanistanAFGMiddle East, North Africa, Afghanistan & PakistanLow income19651.08015556482012
    AfghanistanAFGMiddle East, North Africa, Afghanistan & PakistanLow income19660.672908592090179
    AfghanistanAFGMiddle East, North Africa, Afghanistan & PakistanLow income19670.82760950235877
    AfghanistanAFGMiddle East, North Africa, Afghanistan & PakistanLow income19681.03516311473202
    AfghanistanAFGMiddle East, North Africa, Afghanistan & PakistanLow income19691.46489906383787

    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
    valuenumberAgricultural raw materials imports (% of merchandise imports), 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 2024?

    Pakistan, with 4.34.

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

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

    SQL (table wb = the CSV)

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

    pandas (df = pd.read_csv("agricultural-raw-materials-imports-percent-of-merchandise-imports.csv"))

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

    File: agricultural-raw-materials-imports-percent-of-merchandise-imports.csv

    How many countries report a value for 2024?

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

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

    =COUNTIF(E2:E100000,2024)

    SQL (table wb = the CSV)

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

    pandas (df = pd.read_csv("agricultural-raw-materials-imports-percent-of-merchandise-imports.csv"))

    (df.year == 2024).sum()

    File: agricultural-raw-materials-imports-percent-of-merchandise-imports.csv

    What is the median across countries in 2024?

    0.951 (median of the 138 country values; not a World Bank aggregate).

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

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

    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 = 2024 ORDER BY value
      LIMIT 2 - (SELECT COUNT(*) FROM wb WHERE year = 2024) % 2
      OFFSET (SELECT (COUNT(*) - 1) / 2 FROM wb WHERE year = 2024));

    pandas (df = pd.read_csv("agricultural-raw-materials-imports-percent-of-merchandise-imports.csv"))

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

    File: agricultural-raw-materials-imports-percent-of-merchandise-imports.csv

    Which country rose the most between 2014 and 2024?

    Cambodia: from 0.731 to 2.97, a rise of 2.24 (out of 134 countries with both years).

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

    Use the wide file (agricultural-raw-materials-imports-percent-of-merchandise-imports-wide.csv): add a column = [2024] - [2014], 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 = 2014 AND b.year = 2024 ORDER BY rise DESC LIMIT 1;

    pandas (df = pd.read_csv("agricultural-raw-materials-imports-percent-of-merchandise-imports.csv"))

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

    File: agricultural-raw-materials-imports-percent-of-merchandise-imports.csv

    Which year has the most countries reporting?

    2017, with 177 countries. (Later years are still filling in as countries report.)

    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("agricultural-raw-materials-imports-percent-of-merchandise-imports.csv"))

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

    File: agricultural-raw-materials-imports-percent-of-merchandise-imports.csv