DataBrighten

    Merchandise imports from low- and middle-income economies in Sub-Saharan Africa (% of total merchandise imports)

    9,744 × 6rows × columns: 205 countries, 1960 to 2023

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

    textnumberdateyes/no
    Rows9,744country-year values
    Countries205with at least one value
    Years1960 – 202364 years with data
    LicenceCC BY 4.0credit the World Bank

    What it measures

    Merchandise imports from low- and middle-income economies in Sub-Saharan Africa are the sum of merchandise imports by the reporting economy from low- and middle-income economies in the Sub-Saharan Africa region according to the World Bank classification of economies. Data are expressed as a percentage of total merchandise imports by the economy. Data are computed only if at least half of the economies in the partner country group had non-missing data.

    The numbers in 2023

    In 2023, 199 countries have a value. The highest is Lesotho (84.96); the lowest is Bhutan (0.000379). The median country value is 0.689. The World Bank's World aggregate for 2023 is 2.15.

    Top 10 countries, 2023

    % of total merchandise imports

    Source: World Bank, TM.VAL.MRCH.R6.ZS, retrieved 19 November 2026. Computed from merchandise-imports-from-low-and-middle-income-economies-in-sub-saharan-africa-percent-of.csv.

    Highest, 2023

    #CountryValue
    1Lesotho84.96
    2Botswana84.08
    3Eswatini76
    4South Sudan64.85
    5Zimbabwe64.24
    6Mali62.5
    7Guinea-Bissau44.49
    8Namibia43.07
    9Congo, Rep.41.73
    10Zambia37.49

    Lowest, 2023

    #CountryValue
    1Bhutan0.000379
    2Turkmenistan0.000757
    3American Samoa0.00442
    4Tajikistan0.0067
    5St. Lucia0.0105
    6Myanmar0.0166
    7Latvia0.0184
    8Sint Maarten (Dutch part)0.0188
    9Kiribati0.019
    10St. Kitts and Nevis0.0246
    How many countries report, by decade
    DecadeMost countries in one year
    1960s110
    1970s124
    1980s142
    1990s168
    2000s200
    2010s201
    2020s200

    World aggregate by year

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

    YearWorld
    20232.15
    20222.18
    20212.05
    20201.95
    20192.02
    20182.12
    20171.98
    20161.87
    20152.03
    20142.53
    20132.6
    20122.68

    By region, 2023

    World Bank regionValue
    Sub-Saharan Africa 15.21
    Middle East, North Africa, Afghanistan & Pakistan4.8
    South Asia4.49
    East Asia & Pacific2.26
    Europe & Central Asia1.58
    North America0.974
    Latin America & Caribbean 0.512

    First rows

    merchandise-imports-from-low-and-middle-income-economies-in-sub-saharan-africa-percent-of.csv

    countrytextiso3textregiontextincome_grouptextyearnumbervaluenumber
    AfghanistanAFGMiddle East, North Africa, Afghanistan & PakistanLow income19860.000879470692789088
    AfghanistanAFGMiddle East, North Africa, Afghanistan & PakistanLow income19870.00130553395434305
    AfghanistanAFGMiddle East, North Africa, Afghanistan & PakistanLow income19880.000333574890404136
    AfghanistanAFGMiddle East, North Africa, Afghanistan & PakistanLow income19890.000366276375942812
    AfghanistanAFGMiddle East, North Africa, Afghanistan & PakistanLow income19900.000368607314662549
    AfghanistanAFGMiddle East, North Africa, Afghanistan & PakistanLow income19910.050386754396698
    AfghanistanAFGMiddle East, North Africa, Afghanistan & PakistanLow income19920.0605398075179148
    AfghanistanAFGMiddle East, North Africa, Afghanistan & PakistanLow income19930.0616032223606917

    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
    valuenumberMerchandise imports from low- and middle-income economies in Sub-Saharan Africa (% of total 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 2023?

    Lesotho, with 84.96.

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

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

    SQL (table wb = the CSV)

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

    pandas (df = pd.read_csv("merchandise-imports-from-low-and-middle-income-economies-in-sub-saharan-africa-percent-of.csv"))

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

    File: merchandise-imports-from-low-and-middle-income-economies-in-sub-saharan-africa-percent-of.csv

    How many countries report a value for 2023?

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

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

    =COUNTIF(E2:E100000,2023)

    SQL (table wb = the CSV)

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

    pandas (df = pd.read_csv("merchandise-imports-from-low-and-middle-income-economies-in-sub-saharan-africa-percent-of.csv"))

    (df.year == 2023).sum()

    File: merchandise-imports-from-low-and-middle-income-economies-in-sub-saharan-africa-percent-of.csv

    What is the median across countries in 2023?

    0.689 (median of the 199 country values; not a World Bank aggregate).

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

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

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

    pandas (df = pd.read_csv("merchandise-imports-from-low-and-middle-income-economies-in-sub-saharan-africa-percent-of.csv"))

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

    File: merchandise-imports-from-low-and-middle-income-economies-in-sub-saharan-africa-percent-of.csv

    Which country rose the most between 2013 and 2023?

    South Sudan: from 2.27 to 64.85, a rise of 62.58 (out of 197 countries with both years).

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

    Use the wide file (merchandise-imports-from-low-and-middle-income-economies-in-sub-saharan-africa-percent-of-wide.csv): add a column = [2023] - [2013], 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 = 2013 AND b.year = 2023 ORDER BY rise DESC LIMIT 1;

    pandas (df = pd.read_csv("merchandise-imports-from-low-and-middle-income-economies-in-sub-saharan-africa-percent-of.csv"))

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

    File: merchandise-imports-from-low-and-middle-income-economies-in-sub-saharan-africa-percent-of.csv

    Which year has the most countries reporting?

    2011, with 201 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("merchandise-imports-from-low-and-middle-income-economies-in-sub-saharan-africa-percent-of.csv"))

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

    File: merchandise-imports-from-low-and-middle-income-economies-in-sub-saharan-africa-percent-of.csv