country_profile
Fetch a country's latest values for curated health indicators, with optional year and indicator filters, to support comparative health systems research.
Instructions
Latest values for a curated set of headline indicators in one country.
Fetches all indicators in parallel. Within the latest year, prefers known both-sex, all-age and total-residence codes; every chosen population is labeled. Ambiguous or incomplete populations return no headline value.
Args: country: ISO3 code, country name, region code, or income-group code. year: Optional reference year. If None, returns the most recent available value per indicator. If set, returns the latest value at or before that year. indicator_codes: Optional override of the headline indicator set. Defaults to a curated comparative-health-systems list. indicator_dim_filters: Per-indicator dimension filters, e.g. {"SDGPM25": {"Dim1": "RESIDENCEAREATYPE_TOTL"}}. Keys use the same whitelist as get_indicator_data. Filters apply before latest year selection; unmatched indicator keys raise an error.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| year | No | ||
| country | Yes | ||
| indicator_codes | No | ||
| indicator_dim_filters | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||