Access the Riksdagen corpus
Project description
Swedish parliamentary proceedings - Riksdagens protokoll 1867-today
Westac Project, 2020-2023
The full data set consists of multiple parts:
- Riksdagens protokoll between from 1867 until today in the Parla-clarin format
- Comprehensive list of MPs and cabinet members during this period
- Documentation of the corpus and the curation process
- A Google Colab notebook that demonstrates how the dataset can be used with Python
Basic use
A full dataset is available under this download link. It has the following structure
- Annual protocol files in the
corpus/protocols/
folder - Structured metadata on MPs, speakers, ministers, and governments in the
corpus/metadata/
folder
The workflow to use the data is demonstrated in this Google Colab notebook.
Design choices of the project
The Riksdagen corpus is released as an iterative process, where the corpus is curated and expanded. Semantic versioning is used for the whole corpus, following the established major-minor-patch practices as they apply to data. For each major and minor release, a statistical sample is drawn, annotated and quantitatively evaluated. Errors are fixed as they are detected in order of priority. Moreover, the edit history is kept as a traceable git repository.
While the contents of the corpus will change due to curation and expansion, we aim to keep the deliverable API, the corpus/ folder, as stable as possible. This means we avoid relocating files or folders, changing formats, changing columns in metadata files, or any other changes that might break downstream scripts. Conversely, files outside the corpus/ folder are internal to the project. End users may find utility in them but we make no effort to keep them consistent.
The data in the corpus is delivered as TEI XML files to follow established practices. The metadata is delivered as CSV files, following a normal form database structure while allowing for a legible git history. A more detailed description of the data and metadata structure and formats can be found in the README files in the corpus/ folder.
Participate in the curation process
If you find any errors, it is possible to submit corrections to them. This is documented in the project wiki.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Hashes for pyriksdagen-0.8.2rc3-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 6143e879c13f8f917773861aeda22d3751fa23f7c5a5c3312c5da079c82748f7 |
|
MD5 | ec181180576312f65be2a680ae28b570 |
|
BLAKE2b-256 | 3af53abd3803e54c6e2630d3bd3558a1b1243aec99533a696c3cb8af05b655fa |