DataBrighten

    Maternal leave benefits (% of wages paid in covered period)

    760 × 6rows × columns: 178 countries, 2009 to 2017

    Real data: World Bank, Health Nutrition and Population Statistics, indicator SH.MMR.WAGE.ZS, retrieved 19 November 2026. Values are as published; we only reshaped the file.

    textnumberdateyes/no
    Rows760country-year values
    Countries178with at least one value
    Years2009 – 20175 years with data
    LicenceCC BY 4.0credit the World Bank

    What it measures

    Maternity leave benefits refers to the total percentage of wages covered by all sources during paid maternity leave.

    The numbers in 2017

    In 2017, 176 countries have a value. At the top, 129 countries tie at 100 (e.g. Afghanistan, Algeria, Angola); at the bottom, 2 countries tie at 25 (e.g. Kiribati, Solomon Islands). The median country value is 100.

    Highest, 2017

    Ties are listed A to Z.

    #CountryValue
    1Afghanistan100
    2Algeria100
    3Angola100
    4Argentina100
    5Armenia100
    6Austria100
    7Azerbaijan100
    8Bahamas, The100
    9Bahrain100
    10Bangladesh100

    Lowest, 2017

    Ties are listed A to Z.

    #CountryValue
    1Solomon Islands25
    2Kiribati25
    3Seychelles33
    4San Marino45
    5Nigeria50
    6Denmark50
    7Chad50
    8Central African Republic50
    9Cambodia50
    10Botswana50
    How many countries report, by decade
    DecadeMost countries in one year
    2000s134
    2010s177

    First rows

    maternal-leave-benefits-percent-of-wages-paid-in-covered-period.csv

    countrytextiso3textregiontextincome_grouptextyearnumbervaluenumber
    AfghanistanAFGMiddle East, North Africa, Afghanistan & PakistanLow income2015100
    AfghanistanAFGMiddle East, North Africa, Afghanistan & PakistanLow income2017100
    AlbaniaALBEurope & Central AsiaUpper middle income200965
    AlbaniaALBEurope & Central AsiaUpper middle income201165
    AlbaniaALBEurope & Central AsiaUpper middle income201365
    AlbaniaALBEurope & Central AsiaUpper middle income201565
    AlbaniaALBEurope & Central AsiaUpper middle income201765
    AlgeriaDZAMiddle East, North Africa, Afghanistan & PakistanUpper middle income2009100

    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
    valuenumberMaternal leave benefits (% of wages paid in covered period), 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 2017?

    There is a tie: 129 countries share the highest value, 100 (for example Afghanistan, Algeria, Angola).

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

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

    SQL (table wb = the CSV)

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

    pandas (df = pd.read_csv("maternal-leave-benefits-percent-of-wages-paid-in-covered-period.csv"))

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

    File: maternal-leave-benefits-percent-of-wages-paid-in-covered-period.csv

    How many countries report a value for 2017?

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

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

    =COUNTIF(E2:E100000,2017)

    SQL (table wb = the CSV)

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

    pandas (df = pd.read_csv("maternal-leave-benefits-percent-of-wages-paid-in-covered-period.csv"))

    (df.year == 2017).sum()

    File: maternal-leave-benefits-percent-of-wages-paid-in-covered-period.csv

    What is the median across countries in 2017?

    100 (median of the 176 country values; not a World Bank aggregate).

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

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

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

    pandas (df = pd.read_csv("maternal-leave-benefits-percent-of-wages-paid-in-covered-period.csv"))

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

    File: maternal-leave-benefits-percent-of-wages-paid-in-covered-period.csv

    Which country rose the most between 2009 and 2017?

    Kyrgyz Republic: from 22 to 87, a rise of 65 (out of 133 countries with both years).

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

    Use the wide file (maternal-leave-benefits-percent-of-wages-paid-in-covered-period-wide.csv): add a column = [2017] - [2009], 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 = 2009 AND b.year = 2017 ORDER BY rise DESC LIMIT 1;

    pandas (df = pd.read_csv("maternal-leave-benefits-percent-of-wages-paid-in-covered-period.csv"))

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

    File: maternal-leave-benefits-percent-of-wages-paid-in-covered-period.csv

    Which year has the most countries reporting?

    2015, 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("maternal-leave-benefits-percent-of-wages-paid-in-covered-period.csv"))

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

    File: maternal-leave-benefits-percent-of-wages-paid-in-covered-period.csv