Datasets:
Dataset: Swiss Legislation
Description
This dataset contains legislation texts in five languages:
- German (17,559 entries)
- French (11,197 entries)
- Italian (6,201 entries)
- Romansh (534 entries)
- English (207 entries)
The total number of texts in the dataset is 35,698. The dataset is saved in lexfind_v2.jsonl format.
Canton Distribution
- 'ch': Switzerland (Federal) - 15840
- 'fr': Fribourg - 1633
- 'be': Bern - 1344
- 'vs': Valais - 1328
- 'gr': Graubünden - 1205
- 'ne': Neuchâtel - 1115
- 'zh': Zurich - 974
- 'bs': Basel-Stadt - 899
- 'bl': Basel-Landschaft - 863
- 'vd': Vaud - 870
- 'ge': Geneva - 837
- 'sg': St. Gallen - 764
- 'ju': Jura - 804
- 'zg': Zug - 632
- 'ti': Ticino - 627
- 'lu': Lucerne - 584
- 'so': Solothurn - 547
- 'ow': Obwalden - 513
- 'ik': Interkantonal - 510
- 'sh': Schaffhausen - 469
- 'gl': Glarus - 467
- 'tg': Thurgau - 453
- 'sz': Schwyz - 423
- 'ai': Appenzell Innerrhoden - 416
- 'ag': Aargau - 483
- 'ar': Appenzell Ausserrhoden - 330
- 'nw': Nidwalden - 401
- 'ur': Uri - 367
Data
Each entry in the dataset is a dictionary with the following keys:
canton
: the canton of origin of the legislation- example: "ag"
language
: the language of the legislation- example: "de"
uuid
: a unique identifier for the legislation- example: "ec312f57-05fe-4552-ba50-8c9c269e0f3b"
title
: the title of the legislation- example: "Gesetz über die Geoinformation im Kanton Aargau"
short
: a short description of the legislation- example: "Kantonales Geoinformationsgesetz"
abbreviation
: an abbreviation for the legislation- example: "KGeoIG"
sr_number
: a reference number for the legislation- example: "740.100"
is_active
: whether the legislation is currently in force- example: true
version_active_since
: the date since when the legislation's current version is active- example: "2021-09-01"
family_active_since
: the date since when the legislation's current version's family is active- example: "2011-05-24"
version_inactive_since
: the date since when the legislation's current version is inactive- example: null
version_found_at
: the date the legislation's current version was found- example: "2021-09-01"
pdf_url
: a link to the legislation's pdf- example: "https://www.lexfind.ch/tol/1557/de"
html_url
: a link to the legislation's htmlpdf_content
: the legislation's pdf content- example: "740.100 - Gesetz über..."
html_content
: the legislation's html content- example: ""
changes
: a list of changes made to the legislation- example: []
history
: a list of the legislation's history- example: []
quotes
: a list of quotes from the legislation- example: []
Splits
There is only one split in this dataset, which contains all the legislation texts.