Match regions
match_regionsDatawrapper: check which region values (names or codes) match a basemap, pick the best key automatically, and list unmatched values with spelling suggestions. Pass values, or data + region_column. Use before creating a choropleth map.
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": {
"basemap": "<basemap>"
},
"name": "match_regions"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| key | No | Force a specific basemap key. | |
| data | No | Exactly one data source. Use csv/rows/columns for inline data (best below ~10,000 rows; line charts below ~1,000 points). | |
| values | No | ||
| basemap | Yes | Basemap id from find_basemap. | |
| region_column | No | Column with region identifiers when `data` is given (default: first text column). |