Homicide rate, PM2.5 and disaster risk by country
compare_safety_statsMeasured danger once there. Given countries (two or more ISO alpha-2 codes), returns side by side: intentional homicides per 100,000 (UNODC via World Bank WDI) and mean annual PM2.5 exposure in µg/m³ (WDI), each with its observation year, and the INFORM disaster-risk score and band composed for context. Without countries, ranks the 41-country spine by one metric (homicide default, pm25), lowest first. Only observations at or after the newest WDI vintage are held; a country whose newest figure is older lacks the key and is dropped from the ranking, never scored 0 — the UK's newest homicide observation predates the floor, so it has no homicide figure here. Homicide counts intentional killings only, not petty crime or road deaths; PM2.5 is a national population-weighted mean. Official sources on the dates shown, for information only — conditions change; check the source before travelling. Every response says so first.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| sort | No | Ranking direction. Ignored when `countries` is given. | lowest |
| limit | No | Return at most this many countries in a ranking. | |
| metric | No | Ranking metric. Ignored when `countries` is given. | homicide |
| countries | No | Comma-separated ISO alpha-2 codes, two or more (e.g. "DE,BR,ZA"). Omit to get a ranking instead. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ok | No | ||
| rows | No | ||
| metric | No | ||
| caveats | No | ||
| attribution | No |