Documents: Open Besluitvorming Documents
read only per partition REST
- Luettelo:
OpenBesluitvorming - Kaavio:
Export - Ensisijaiset avaimet:
entity_id - Tunniste: Documents
Voi hakea vain tietoja.
Yhteenveto
The documents: proposals, letters, minutes, motions as files, attachments. The text is not in this table; read it with DocumentTextById, the file with DocumentPdfById. 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 @obv.
API-lähde
- Päätepiste:
/api/export/snapshot
Suorituskykyominaisuudet
| Ominaisuus | Arvo |
|---|---|
| Arvioitu rivimäärä | 5,900,000 |
| Keskimääräinen yhteysviive (ms) | 497 |
| Täysskannausrivit minuutissa | 58,000 |
| Query-rivien määrä minuutissa | 58 |
Taulukon sarakkeet
Taulukon Documents 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 |
|---|---|---|---|---|---|
changed_ |
datetime |
Muutettu | suodattimet alustalla, kirjoitettavissa | When the platform recorded this version, UTC. | |
classification |
varchar2 |
Luokittelu | suodattimet alustalla, kirjoitettavissa | The kind as the source system names it, such as Agenda, Moties or Raadsinformatiebrieven; several separated by a comma. | |
commit_ |
varchar2 |
Versiotunnus | suodattimet alustalla, kirjoitettavissa | The id of this version. | |
content_ |
varchar2 |
Sisällön hajautusarvo | suodattimet alustalla, kirjoitettavissa | The SHA-256 of the content of this version; equal for equal content. | |
content_ |
varchar2 |
Sisältötyyppi | suodattimet alustalla, kirjoitettavissa | Tiedostotyyppi, esimerkiksi application/pdf. | |
date_ |
datetime |
Muokattu lähteessä | suodattimet alustalla, kirjoitettavissa | When the source system last changed the entry, UTC; for written questions, the day the answer was added.Never the day the document was written. | |
entity_ |
varchar2 |
ID | suodattimet alustalla, kirjoitettavissa | The id of the document, such as document:ibabs:gemeente:houten:; stable, and the argument of the functions of the schema Entities. | |
extraction_ |
decimal |
Uuttamisen laatupisteet | suodattimet alustalla, kirjoitettavissa | The score behind that status. | |
extraction_ |
varchar2 |
Uuttamisen laadun tila | suodattimet alustalla, kirjoitettavissa | How well the text could be extracted, such as ok or suspect; a scan has no text. | |
file_ |
varchar2 |
Tiedoston nimi | suodattimet alustalla, kirjoitettavissa | Tiedoston nimi. | |
last_ |
datetime |
Viimeksi keskusteltu | suodattimet alustalla, kirjoitettavissa | When it was last discussed in a meeting, UTC. iBabs data before 2025 holds Dutch time marked as UTC, so a late meeting can land on the next day. | |
meeting_ |
varchar2 |
Kokouksen tunnus | suodattimet alustalla, kirjoitettavissa | The meeting at which the document was last discussed; empty for a register document and for an attachment of a motion. | |
name |
varchar2 |
Nimi | suodattimet alustalla, kirjoitettavissa | The name of the document as the source system gives it. | |
organization_ |
varchar2 |
Organisaation tunnus | suodattimet alustalla, kirjoitettavissa | The organisation, such as organization:nl:gemeente:houten. | |
original_ |
varchar2 |
Alkuperäinen URL-osoite | suodattimet alustalla, kirjoitettavissa | Where the source system publishes the file.Part of iBabs refuses it; DocumentPdfById reads the copy of the platform. | |
page_ |
int32 |
Sivumäärä | suodattimet alustalla, kirjoitettavissa | The number of pages the text was extracted from; at most 40. | |
referenced_ |
varchar2 |
Kuuluu | suodattimet alustalla, kirjoitettavissa | What the document belongs to as the platform says it: a meeting, a motion it is attached to, or for a register document the organisation. | |
schema_ |
varchar2 |
Tietueen muodon versio | suodattimet alustalla, kirjoitettavissa | The version of the record format, such as v1alpha1. | |
seq |
int64 |
Järjestysnumero | suodattimet alustalla, kirjoitettavissa | The position of the version in the change feed of the source; a newer version has a higher number. | |
source_ |
varchar2 |
Lähdeavain | suodattimet alustalla, kirjoitettavissa | The source, which is also the partition. | |
source_ |
int32 |
Tiedoston sivumäärä | suodattimet alustalla, kirjoitettavissa | The number of pages of the file. | |
storage_ |
varchar2 |
Tallennus-URL | suodattimet alustalla, kirjoitettavissa | Where the platform keeps its copy of the file. | |
supplier |
varchar2 |
Toimittaja | suodattimet alustalla, kirjoitettavissa | The council information system it was read from. |
Avaimet
| Avain | Sarake | Viittaa | Laji | Kuvaus |
|---|---|---|---|---|
Documents_ |
meeting_ |
Meetings. |
Avain | |
Documents_ |
source_ |
Sources. |
Tekstimuotoinen | The source, which is also the partition. |
Viitattu seuraavissa lähteissä
- Motions
attachment_entity_id(Key)