Dk Elections Party Over Time
dk_elections_party_over_timeOne party's vote and seat results across Danish national elections 1979 to the latest (Folketing 1979-2007 from a stored copy, 2009 on live), for the whole country or for one named area at a level the elections share (areas are matched across elections by NAME; boundaries change, so a polling-area match is best effort and flagged; an election lacking the level is listed under skipped with the levels it has). Party by letter (A, V, Ø) or name text (Socialdemokratiet, Liberal Alliance). Defaults to Folketing elections. Seats are null for 1979-2007. Source: Statistics Denmark.
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": {
"area": "Københavns Storkreds",
"level": "storkreds",
"party": "A",
"from_year": 2015
},
"name": "dk_elections_party_over_time"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| area | No | Unit name or part of it. Required when level is not country. | |
| type | No | folketingsvalg (default), europa-parlamentsvalg or folkeafstemning. | |
| level | No | Geography level: country, landsdel (3 regions), storkreds (10 multi-member districts; the 2007 election and later), amtskreds (17 stor- og amtskredse, Folketing 1979-2005 only; named from 2001, numbers only before), opstillingskreds (nomination district: 92 from 2007, 103 before), afstemningsomraade (polling-station area, 2009 and later) or valgsted (voting station, Folketing 1979-2007 only). A level an election does not have returns an error naming the levels it does have. Default: country. | |
| party | Yes | Party letter (A, B, C, F, I, M, O, V, Ø, Å, Æ ...) or part of the party name. Letters were reassigned over time: a letter query returns the party that held it in each election, with its name. | |
| within | No | Optional parent unit name or id, to disambiguate. | |
| from_year | No | Optional first year, 1979 or later. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| rows | No | ||
| count | No | ||
| level | No | ||
| source | No | ||
| window | No | ||
| data_as_of | No |