Documents: Open Besluitvorming Documents
read only per partition REST
- Katalog:
OpenBesluitvorming - Schéma:
Export - Primární klíče:
entity_id - Štítek: Documents
Lze načítat pouze data.
Shrnutí
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.
Zdroj API
- Koncový bod:
/api/export/snapshot
Provozní charakteristiky
| Charakteristika | Hodnota |
|---|---|
| Odhadovaný počet řádků | 5,900,000 |
| Průměrná latence přístupu (ms) | 497 |
| Počet řádků při úplném skenování za minutu | 58,000 |
| Počet řádků Query za minutu | 58 |
Sloupce tabulky
Sloupce tabulky Documents jsou uvedeny níže. Každý sloupec má datový typ SQL. Pro každý požadovaný sloupec musí být vždy během vkládání a aktualizace zadána nová hodnota, která není nulová (non-null).
| Jméno | Datový typ | Štítek | Vyžadováno | Značky | Dokumentace |
|---|---|---|---|---|---|
changed_ |
datetime |
Změněno | filtry na platformě, zapisovatelné | When the platform recorded this version, UTC. | |
classification |
varchar2 |
Klasifikace | filtry na platformě, zapisovatelné | The kind as the source system names it, such as Agenda, Moties or Raadsinformatiebrieven; several separated by a comma. | |
commit_ |
varchar2 |
ID verze | filtry na platformě, zapisovatelné | The id of this version. | |
content_ |
varchar2 |
Hash obsahu | filtry na platformě, zapisovatelné | The SHA-256 of the content of this version; equal for equal content. | |
content_ |
varchar2 |
Typ obsahu | filtry na platformě, zapisovatelné | Druh souboru, například application/pdf. | |
date_ |
datetime |
Upraveno u zdroje | filtry na platformě, zapisovatelné | 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 | filtry na platformě, zapisovatelné | The id of the document, such as document:ibabs:gemeente:houten:; stable, and the argument of the functions of the schema Entities. | |
extraction_ |
decimal |
Skóre kvality extrakce | filtry na platformě, zapisovatelné | The score behind that status. | |
extraction_ |
varchar2 |
Stav kvality extrakce | filtry na platformě, zapisovatelné | How well the text could be extracted, such as ok or suspect; a scan has no text. | |
file_ |
varchar2 |
Název souboru | filtry na platformě, zapisovatelné | Název souboru. | |
last_ |
datetime |
Naposledy diskutováno | filtry na platformě, zapisovatelné | 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 |
ID schůzky | filtry na platformě, zapisovatelné | The meeting at which the document was last discussed; empty for a register document and for an attachment of a motion. | |
name |
varchar2 |
Jméno | filtry na platformě, zapisovatelné | The name of the document as the source system gives it. | |
organization_ |
varchar2 |
Identifikační číslo organizace | filtry na platformě, zapisovatelné | The organisation, such as organization:nl:gemeente:houten. | |
original_ |
varchar2 |
Původní URL | filtry na platformě, zapisovatelné | Where the source system publishes the file.Part of iBabs refuses it; DocumentPdfById reads the copy of the platform. | |
page_ |
int32 |
Počet stránek | filtry na platformě, zapisovatelné | The number of pages the text was extracted from; at most 40. | |
referenced_ |
varchar2 |
Patří k | filtry na platformě, zapisovatelné | 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 |
Verze formátu záznamu | filtry na platformě, zapisovatelné | The version of the record format, such as v1alpha1. | |
seq |
int64 |
Pořadové číslo | filtry na platformě, zapisovatelné | The position of the version in the change feed of the source; a newer version has a higher number. | |
source_ |
varchar2 |
Klíč zdroje | filtry na platformě, zapisovatelné | The source, which is also the partition. | |
source_ |
int32 |
Počet stránek v souboru | filtry na platformě, zapisovatelné | The number of pages of the file. | |
storage_ |
varchar2 |
URL úložiště | filtry na platformě, zapisovatelné | Where the platform keeps its copy of the file. | |
supplier |
varchar2 |
Dodavatel | filtry na platformě, zapisovatelné | The council information system it was read from. |
Klíče
| Klíč | Sloupec | Vztahuje se k | Druh | Popis |
|---|---|---|---|---|
Documents_ |
meeting_ |
Meetings. |
Klíč | |
Documents_ |
source_ |
Sources. |
Textové | The source, which is also the partition. |
Odkazuje na
- Motions
attachment_entity_id(Key)