Documents: Open Besluitvorming Documents
read only per partition REST
- Katalog:
OpenBesluitvorming - Schema:
Export - Primärnycklar:
entity_id - Etikett: Documents
Kan endast hämta data.
Sammanfattning
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-källa
- Slutpunkt:
/api/export/snapshot
Prestandakarakteristika
| Egenskap | Värde |
|---|---|
| Uppskattat antal rader | 5,900,000 |
| Genomsnittlig åtkomstfördröjning (ms) | 497 |
| Antal rader per minut vid fullskanning | 58,000 |
| Antal rader per minut i punktfrågor | 58 |
Tabellkolumner
Tabellens kolumner Documents visas nedan. Varje kolumn har en SQL-datatyp. Ett nytt värde som inte är null måste alltid anges för varje obligatorisk kolumn vid insättning och uppdatering.
| Namn | Datatyp | Etikett | Nödvändigt | Betyg | Dokumentation |
|---|---|---|---|---|---|
changed_ |
datetime |
Ändrat | filtreras på plattformen, skrivbar | When the platform recorded this version, UTC. | |
classification |
varchar2 |
Klassificering | filtreras på plattformen, skrivbar | The kind as the source system names it, such as Agenda, Moties or Raadsinformatiebrieven; several separated by a comma. | |
commit_ |
varchar2 |
Versions-ID | filtreras på plattformen, skrivbar | The id of this version. | |
content_ |
varchar2 |
Innehållshash | filtreras på plattformen, skrivbar | The SHA-256 of the content of this version; equal for equal content. | |
content_ |
varchar2 |
Innehållstyp | filtreras på plattformen, skrivbar | Filtypen, till exempel application/pdf. | |
date_ |
datetime |
Ändrat vid källan | filtreras på plattformen, skrivbar | 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 | filtreras på plattformen, skrivbar | The id of the document, such as document:ibabs:gemeente:houten:; stable, and the argument of the functions of the schema Entities. | |
extraction_ |
decimal |
Kvalitetsbetyg för utvinning | filtreras på plattformen, skrivbar | The score behind that status. | |
extraction_ |
varchar2 |
Status för utvinningskvalitet | filtreras på plattformen, skrivbar | How well the text could be extracted, such as ok or suspect; a scan has no text. | |
file_ |
varchar2 |
Filnamn | filtreras på plattformen, skrivbar | Filens namn. | |
last_ |
datetime |
Senast diskuterat | filtreras på plattformen, skrivbar | 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 |
Mötes-ID | filtreras på plattformen, skrivbar | The meeting at which the document was last discussed; empty for a register document and for an attachment of a motion. | |
name |
varchar2 |
Namn | filtreras på plattformen, skrivbar | The name of the document as the source system gives it. | |
organization_ |
varchar2 |
Organisations-ID | filtreras på plattformen, skrivbar | The organisation, such as organization:nl:gemeente:houten. | |
original_ |
varchar2 |
Ursprunglig URL | filtreras på plattformen, skrivbar | Where the source system publishes the file.Part of iBabs refuses it; DocumentPdfById reads the copy of the platform. | |
page_ |
int32 |
Antal sidor | filtreras på plattformen, skrivbar | The number of pages the text was extracted from; at most 40. | |
referenced_ |
varchar2 |
Tillhör | filtreras på plattformen, skrivbar | 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 |
Version av filformatet | filtreras på plattformen, skrivbar | The version of the record format, such as v1alpha1. | |
seq |
int64 |
Löpnummer | filtreras på plattformen, skrivbar | The position of the version in the change feed of the source; a newer version has a higher number. | |
source_ |
varchar2 |
Källnyckel | filtreras på plattformen, skrivbar | The source, which is also the partition. | |
source_ |
int32 |
Antal sidor i filen | filtreras på plattformen, skrivbar | The number of pages of the file. | |
storage_ |
varchar2 |
Lagrings-URL | filtreras på plattformen, skrivbar | Where the platform keeps its copy of the file. | |
supplier |
varchar2 |
Leverantör | filtreras på plattformen, skrivbar | The council information system it was read from. |
Nycklar
| Nyckel | Kolumn | Avser för referens | Typ | Beskrivning |
|---|---|---|---|---|
Documents_ |
meeting_ |
Meetings. |
Nyckel | |
Documents_ |
source_ |
Sources. |
Textuell | The source, which is also the partition. |
Refereras till av
- Motions
attachment_entity_id(Key)