DataBrighten

    Regulatory Quality - Number of sources

    5,374 × 6rows × columns: 205 countries, 1996 to 2025

    Real data: World Bank, Worldwide Governance Indicators, indicator GOV_WGI_RQ.SR, retrieved 19 November 2026. Values are as published; we only reshaped the file.

    textnumberdateyes/no
    Rows5,374country-year values
    Countries205with at least one value
    Years1996 – 202527 years with data
    LicenceCC BY 4.0credit the World Bank

    What it measures

    Regulatory Quality (RQ) captures perceptions of the government’s ability to design and implement policies and regulations that promote private sector development. Number of sources indicates the number of underlying data sources on which the governance estimate is based.

    The numbers in 2025

    In 2025, 205 countries have a value. At the top, 2 countries tie at 13 (e.g. Ghana, Kenya); at the bottom, 8 countries tie at 1 (e.g. American Samoa, Andorra, Bermuda). The median country value is 8.

    Top 10 countries, 2025

    value

    Source: World Bank, GOV_WGI_RQ.SR, retrieved 19 November 2026. Computed from regulatory-quality-number-of-sources.csv.

    Highest, 2025

    Ties are listed A to Z.

    #CountryValue
    1Ghana13
    2Kenya13
    3Cameroon12
    4Congo, Dem. Rep.12
    5Cote d'Ivoire12
    6Gambia, The12
    7Liberia12
    8Malawi12
    9Mali12
    10Mozambique12

    Lowest, 2025

    Ties are listed A to Z.

    #CountryValue
    1Virgin Islands (U.S.)1
    2San Marino1
    3Monaco1
    4Guam1
    5Greenland1
    6Bermuda1
    7Andorra1
    8American Samoa1
    9St. Kitts and Nevis2
    10Palau2
    How many countries report, by decade
    DecadeMost countries in one year
    1990s182
    2000s202
    2010s205
    2020s205

    First rows

    regulatory-quality-number-of-sources.csv

    countrytextiso3textregiontextincome_grouptextyearnumbervaluenumber
    AfghanistanAFGMiddle East, North Africa, Afghanistan & PakistanLow income19961
    AfghanistanAFGMiddle East, North Africa, Afghanistan & PakistanLow income19981
    AfghanistanAFGMiddle East, North Africa, Afghanistan & PakistanLow income20001
    AfghanistanAFGMiddle East, North Africa, Afghanistan & PakistanLow income20022
    AfghanistanAFGMiddle East, North Africa, Afghanistan & PakistanLow income20032
    AfghanistanAFGMiddle East, North Africa, Afghanistan & PakistanLow income20044
    AfghanistanAFGMiddle East, North Africa, Afghanistan & PakistanLow income20054
    AfghanistanAFGMiddle East, North Africa, Afghanistan & PakistanLow income20065

    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
    valuenumberRegulatory Quality - Number of sources, 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 2025?

    There is a tie: 2 countries share the highest value, 13 (for example Ghana, Kenya).

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

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

    SQL (table wb = the CSV)

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

    pandas (df = pd.read_csv("regulatory-quality-number-of-sources.csv"))

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

    File: regulatory-quality-number-of-sources.csv

    How many countries report a value for 2025?

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

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

    =COUNTIF(E2:E100000,2025)

    SQL (table wb = the CSV)

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

    pandas (df = pd.read_csv("regulatory-quality-number-of-sources.csv"))

    (df.year == 2025).sum()

    File: regulatory-quality-number-of-sources.csv

    What is the median across countries in 2025?

    8 (median of the 205 country values; not a World Bank aggregate).

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

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

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

    pandas (df = pd.read_csv("regulatory-quality-number-of-sources.csv"))

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

    File: regulatory-quality-number-of-sources.csv

    Which country rose the most between 2015 and 2025?

    Congo, Dem. Rep.: from 9 to 12, a rise of 3 (out of 205 countries with both years).

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

    Use the wide file (regulatory-quality-number-of-sources-wide.csv): add a column = [2025] - [2015], 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 = 2015 AND b.year = 2025 ORDER BY rise DESC LIMIT 1;

    pandas (df = pd.read_csv("regulatory-quality-number-of-sources.csv"))

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

    File: regulatory-quality-number-of-sources.csv

    Which year has the most countries reporting?

    2025, with 205 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("regulatory-quality-number-of-sources.csv"))

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

    File: regulatory-quality-number-of-sources.csv