lindas.observations
Read a cube's rows with filters (Abstimmung, Referendum, Volksinitiative, Ständemehr, Kanton, Datum): use for the figures themselves. norm.
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": {
"cube": "<cube>"
},
"name": "lindas.observations"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| cube | Yes | ||
| lang | No | ||
| limit | No | ||
| offset | No | ||
| filters | No | Filters, one per entry: the object `{dimension, value}` — `{"dimension": "https://politics.ld.admin.ch/political-rights/popular-vote/date", "value": "1971-02-07"}` — or, equally accepted, the string `dimension=value`. The dimension is the full IRI `lindas.describe_cube` served, the value an IRI or a plain literal. A dimension the shape does not declare is admitted when the cube's observations carry it, and the answer says so. | |
| dimensions | No | The dimension IRIs to project — the cells a row comes back with. Absent = every cell the row carries, which is up to 51 in the vote cube; naming the three or four a question needs is one call instead of paging the same table at a smaller limit. |