Query Core Lmi
query_core_lmiQuery employment, wage, education, and other Core LMI measures by dataset, metrics, and dimension codes. Returns column-oriented rows with sorting, aggregation, and bounded pagination for labor market analysis.
Instructions
Query employment, wages, education or other Core LMI measures using discovered metrics and dimension codes. Read-only POST; consumes quota. Supports named aggregations, mapLevel, LocationQuotient, ShiftShare, sorting and bounded pagination (100 rows default, 500 maximum per page, first 5000 rows accessible). data is column-oriented: combine values at matching row indices. Preserve returned version and upstream metadata; missing/suppressed values are not zero. Use sortBy for repeatable pages. Offset is applied locally to a bounded prefix because the service ignores native offset. Follow pagination.next_offset; narrow the query if has_more is true at window_limit. totalRows is upstream metadata, not a grand total.
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": {
"dataset": "<dataset>",
"query": "<query>"
},
"name": "query_core_lmi"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| query | Yes | ||
| dataset | Yes | ||
| version | No | latest |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| data | Yes | ||
| errors | Yes | ||
| dataset | Yes | ||
| timings | Yes | ||
| version | Yes | ||
| totalRows | Yes | ||
| pagination | Yes |