Durable solutions
durable_solutionsRetrieve annual UNHCR refugee returns, resettlement, naturalisation, and IDP returns by country, with origin/asylum roles and optional per-capita normalization.
Instructions
UNHCR durable solutions per year: refugee returns, resettlement, naturalisation and IDP returns. These are FLOWS during each year (not end-year stocks), so a period total is reported. role "origin" (default) = solutions for people FROM the country (returns home, resettled/naturalised abroad); role "asylum" = refugees who left the country to return home, people resettled TO it, naturalised IN it. Optional other_country cross-filter and normalize_by ("population" → per 1,000 residents of the country).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| role | No | "origin" (default) = solutions for people from the country; "asylum" = solutions in / departures from the country as host or resettlement country | |
| locale | No | Language of the human-readable text output: "en" (default) or "ar" (Modern Standard Arabic, right-to-left). Structured JSON fields, ISO3 codes and dataset ids stay in English either way. | |
| country | Yes | Country name or ISO3 code, e.g. "Egypt", "EGY", "syria" | |
| year_to | No | Last year of the range (default: latest available) | |
| year_from | No | First year of the range (default: 10 years back) | |
| normalize_by | No | Normalize values by a denominator: "population" → per 1,000 residents, "gdp" → per US$1bn GDP. Requires the worldbank provider. | |
| other_country | No | Optional second country for the opposite role, e.g. country="Syria", other_country="Lebanon" → Syrians returning from Lebanon |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| role | Yes | ||
| unit | Yes | ||
| years | Yes | ||
| source | Yes | ||
| country | Yes | ||
| measure | Yes | ||
| year_to | Yes | ||
| year_from | Yes | ||
| country_code | Yes | ||
| normalize_by | Yes | ||
| period_total | Yes | ||
| period_totals | Yes |