undata_query
Query any UN statistical dataflow using SDMX dimension keys to retrieve raw parsed data rows. Specify a flow reference, dimension key, and optional year range to pull targeted datasets from UNdata.
Instructions
Generic SDMX query for any UNdata dataflow. Use when the specific WDI or MDG tools don't cover your dataflow. The key is an SDMX dimension key: dimensions separated by dots, blank means 'all values'. Examples: WDI all Peru annual: flow_ref='DF_UNDATA_WDI', key='A..PER'. MDG all Peru: flow_ref='DF_UNDATA_MDG', key='......PER..'. WDI all countries one year: flow_ref='DF_UNDATA_WDI', key='A..', start_year='2022', end_year='2022'. Returns raw parsed rows (limit to avoid huge responses).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| key | Yes | ||
| limit | No | ||
| end_year | No | ||
| flow_ref | Yes | ||
| start_year | No |