---
title: "MotionVotes (Open Besluitvorming)"
description: "\u00C4\u00E4nestykset"
language: fi
source_language: en
translation_state: pending
canonical: https://documentation.invantive.eu/fi/datamodels/openbesluitvorming/OpenBesluitvorming.Export.MotionVotes
original: https://documentation.invantive.eu/en/datamodels/openbesluitvorming/OpenBesluitvorming.Export.MotionVotes
updated: 2026-12-05T12:44:01Z
license: https://documentation.invantive.eu/fi/
---

# MotionVotes: Open Besluitvorming Motion Votes

`read only` `per partition` `REST`

- Luettelo: `OpenBesluitvorming`
- Kaavio: `Export`
- Ensisijaiset avaimet: `motion_entity_id, voter_id`
- Label: Motion Votes

Voi hakea vain tietoja.

## Yhteenveto

The vote of every member on every motion, where the council votes digitally: 67 of 142 iBabs municipalities in July 2026, no Notubiz source. Only voor and tegen exist; a member who abstained or was absent has no row. Read from the export of the platform, 1 000 records per request, for every selected source: a full read of every source takes over 100 minutes at the rate limit of the platform, one source of 20 000 records some 20 seconds. Narrow it with use <source>@obv.

## API-lähde

- Päätepiste: `/api/export/snapshot`

## Suorituskykyominaisuudet

| Ominaisuus | Arvo |
|---|---:|
| Arvioitu rivimäärä | 500,000 |
| Keskimääräinen yhteysviive (ms) | 497 |
| Täysskannausrivit minuutissa | 58,000 |
| Query-rivien määrä minuutissa | 58 |

## Taulukon sarakkeet

Taulukon `MotionVotes` sarakkeet on esitetty alla. Jokaisella sarakkeella on oma SQL-tietotyyppinsä. Jokaiselle pakolliselle sarakkeelle on annettava uusi, nollasta poikkeava arvo aina, kun suoritetaan lisäys- tai päivitystoiminto.

| Nimi | Tietotyyppi | Etiketti | Tarvitaan | Merkit | Dokumentaatio |
|---|---|---|:---:|---|---|
| `group_id` | `varchar2` | Puolueen tunnus | [ ] | suodattimet alustalla, kirjoitettavissa | The party of the member at the vote. |
| `group_name` | `varchar2` | Juhla | [ ] | suodattimet alustalla, kirjoitettavissa | The name of that party, spelled as the source does: CDA, Fractie CDA and raadsleden cda are three spellings. |
| `motion_entity_id` | `varchar2` | Liikkeen tunniste | [x] | suodattimet alustalla, kirjoitettavissa | The motion. |
| `source_key` | `varchar2` | Lähdeavain | [x] | suodattimet alustalla, kirjoitettavissa | Lähde. |
| `vote_option` | `varchar2` | Äänestä | [x] | suodattimet alustalla, kirjoitettavissa | voor or tegen. |
| `voter_id` | `varchar2` | Jäsen-ID | [x] | suodattimet alustalla, kirjoitettavissa | The member; stable within one source, without a national register. |
| `voter_name` | `varchar2` | Jäsen | [ ] | suodattimet alustalla, kirjoitettavissa | The name of the member as the source writes it. |

## Avaimet

| Avain | Sarake | Viittaa | Laji | Kuvaus |
|---|---|---|---|---|
| `MotionVotes_motion_entity_id_fk` | `motion_entity_id` | [Motions](OpenBesluitvorming.Export.Motions)`.entity_id` | Avain |  |
