Join On Geography
join_on_geographyJoin two data.gov.in datasets on normalized Indian state or district names, resolving variants like Bangalore/Bengaluru so you can merge AQI with health or crop with rainfall data.
Instructions
Join two data.gov.in datasets on normalized Indian geography.
Normalizes state or district names in both datasets (e.g. maps
"Bangalore" → "Bengaluru", "Orissa" → "Odisha")
so they match, then performs an inner join via DuckDB.
Use case: Combine AQI data with health data by state, or merge crop production with rainfall data by district.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"resource_id_a": "<resource_id_a>",
"resource_id_b": "<resource_id_b>"
},
"name": "join_on_geography"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| filters_a | No | Filters for dataset A (original API column names). | |
| filters_b | No | Filters for dataset B (original API column names). | |
| geo_level | No | ``"state"`` or ``"district"`` (default ``"state"``). | state |
| resource_id_a | Yes | First dataset ``resource_id``. | |
| resource_id_b | Yes | Second dataset ``resource_id``. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||