Working hours and paid parental leave, by country
compare_working_timeTwo questions in one. Given countries (two or more ISO alpha-2 codes), returns side by side: mean weekly hours actually worked per employed person (ILOSTAT, newest year from 2023), average annual hours actually worked (OECD, members only), and the paid leave the law gives mothers and fathers in calendar days with who pays (World Bank Women, Business and the Law 2026). Without countries, ranks the 41-country spine by one metric — weeklyHours, annualHours, maternityDays or paternityDays; sort=fewest inverts. A country missing a metric lacks the key, and is dropped from a ranking rather than scored zero. OECD's annual-hours series is NOT comparable across countries, by OECD's own statement — the wording travels with every response that carries the figure. Weekly hours average full- and part-time workers together. Leave is what the law provides, not take-up; a legal score below 1 marks a partial provision. Statutory minimum ANNUAL leave is deliberately absent: no citable structured source exists.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| sort | No | Ranking direction. Ignored when `countries` is given. | most |
| limit | No | Return at most this many countries in a ranking. | |
| metric | No | Ranking metric. Ignored when `countries` is given. | weeklyHours |
| countries | No | Comma-separated ISO alpha-2 codes, two or more (e.g. "DE,US,TH"). Omit to get a ranking instead. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ok | No | ||
| rows | No | ||
| metric | No | ||
| caveats | No | ||
| attribution | No |