Forecast (naive)
forecastGenerate statistical projections of displacement metrics up to 5 years ahead using historical trends. Note: results are extrapolations, not official UNHCR forecasts.
Instructions
Naive linear projection of a displacement metric 1–5 years ahead, based on the last 10 years. This is a statistical extrapolation, NOT a UNHCR planning figure — always present it with that caveat.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| role | No | "asylum" = people hosted IN the country; "origin" = people displaced FROM the country | |
| metric | No | Metric to project (default refugees) | |
| country | Yes | Country name or ISO3 code, e.g. "Egypt", "EGY", "syria" | |
| years_ahead | No | Horizon (default 3) |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| caveat | Yes | ||
| method | Yes | ||
| metric | Yes | ||
| country | Yes | ||
| projected | Yes | ||
| historical | Yes | ||
| country_code | Yes |