DataBrighten

    System of national accounts in use

    1,729 × 6rows × columns: 217 countries, 2016 to 2023

    Real data: World Bank, Statistical Performance Indicators, indicator SPI.D5.2.1.SNAU, retrieved 19 November 2026. Values are as published; we only reshaped the file.

    textnumberdateyes/no
    Rows1,729country-year values
    Countries217with at least one value
    Years2016 – 20238 years with data
    LicenceCC BY 4.0credit the World Bank

    What it measures

    The national accounts data are compiled using the concepts, definitions, framework, and methodology of the System of National Account 2008 (SNA2008) or European System of National and Regional Accounts (ESA 2010). The manual has evolved to meet the changing economic structure, to follow systematic accounting and ensure international compatibility.

    The numbers in 2023

    In 2023, 217 countries have a value. At the top, 147 countries tie at 1 (e.g. Albania, American Samoa, Antigua and Barbuda); at the bottom, 15 countries tie at 0 (e.g. British Virgin Islands, Channel Islands, Eritrea). The median country value is 1.

    Highest, 2023

    Ties are listed A to Z.

    #CountryValue
    1Albania1
    2American Samoa1
    3Antigua and Barbuda1
    4Argentina1
    5Armenia1
    6Aruba1
    7Australia1
    8Austria1
    9Bahamas, The1
    10Barbados1

    Lowest, 2023

    Ties are listed A to Z.

    #CountryValue
    1Virgin Islands (U.S.)0
    2Tuvalu0
    3Sudan0
    4St. Martin (French part)0
    5Sint Maarten (Dutch part)0
    6Puerto Rico (US)0
    7Northern Mariana Islands0
    8Korea, Dem. People's Rep.0
    9Iraq0
    10Greenland0
    How many countries report, by decade
    DecadeMost countries in one year
    2010s217
    2020s217

    First rows

    system-of-national-accounts-in-use.csv

    countrytextiso3textregiontextincome_grouptextyearnumbervaluenumber
    AfghanistanAFGMiddle East, North Africa, Afghanistan & PakistanLow income20160.5
    AfghanistanAFGMiddle East, North Africa, Afghanistan & PakistanLow income20170.5
    AfghanistanAFGMiddle East, North Africa, Afghanistan & PakistanLow income20180.5
    AfghanistanAFGMiddle East, North Africa, Afghanistan & PakistanLow income20190.5
    AfghanistanAFGMiddle East, North Africa, Afghanistan & PakistanLow income20200.5
    AfghanistanAFGMiddle East, North Africa, Afghanistan & PakistanLow income20210.5
    AfghanistanAFGMiddle East, North Africa, Afghanistan & PakistanLow income20220.5
    AfghanistanAFGMiddle East, North Africa, Afghanistan & PakistanLow income20230.5

    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
    valuenumberSystem of national accounts in use, 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?

    There is a tie: 147 countries share the highest value, 1 (for example Albania, American Samoa, Antigua and Barbuda).

    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("system-of-national-accounts-in-use.csv"))

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

    File: system-of-national-accounts-in-use.csv

    How many countries report a value for 2023?

    217 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("system-of-national-accounts-in-use.csv"))

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

    File: system-of-national-accounts-in-use.csv

    What is the median across countries in 2023?

    1 (median of the 217 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("system-of-national-accounts-in-use.csv"))

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

    File: system-of-national-accounts-in-use.csv

    Which country rose the most between 2016 and 2023?

    American Samoa: from 0 to 1, a rise of 1 (out of 210 countries with both years).

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

    Use the wide file (system-of-national-accounts-in-use-wide.csv): add a column = [2023] - [2016], 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 = 2016 AND b.year = 2023 ORDER BY rise DESC LIMIT 1;

    pandas (df = pd.read_csv("system-of-national-accounts-in-use.csv"))

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

    File: system-of-national-accounts-in-use.csv

    Which year has the most countries reporting?

    2023, with 217 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("system-of-national-accounts-in-use.csv"))

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

    File: system-of-national-accounts-in-use.csv