Dk Poll Average
dk_poll_averageSimple average of Danish Folketing party shares over a window of recent polls. Method (also stated in the response): within the window, take each pollster's mean per party, then the unweighted mean across pollsters, so a pollster that publishes weekly does not outweigh one that publishes monthly. No sample-size weighting, no house-effect correction. Window defaults to the 30 days ending at the latest poll. Source: Wikipedia, opinion polling for Danish general elections (CC BY-SA 4.0).
Example tool call
This call uses example arguments supplied in the tool’s input schema.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"days": 30
},
"name": "dk_poll_average"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| to | No | Window end date YYYY-MM-DD (default: date of the latest poll) | |
| days | No | Window length in days ending at "to" (default 30, max 365) |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| method | No | ||
| source | No | ||
| window | No | ||
| averages | No | ||
| pollsters | No | ||
| data_as_of | No | ||
| count_polls | No | ||
| party_names | No | ||
| covered_range | No | ||
| party_letters | No | ||
| sum_of_averages | No |