The full dataset viewer is not available (click to read why). Only showing a preview of the rows.
Error code: DatasetGenerationCastError
Exception: DatasetGenerationCastError
Message: An error occurred while generating the dataset
All the data files must have the same columns, but at some point there are 6 new columns ({'rattfylleri_narkotika_4_2st_tbl', 'rattfylleri_totalt', 'rattfylleri_alkohol_4_4a_tbl', 'trafikbrottslagen_totalt', 'andel_alkohol_procent', 'andel_narkotika_procent'}) and 13 missing columns ({'can_andel_starkol_procent', 'tv_omkomna_alkohol_eller_narkotika', 'can_systembolaget_liter', 'tv_andel_alkohol_eller_narkotika_procent', 'can_andel_sprit_procent', 'tv_omkomna_enbart_narkotika', 'can_oregistrerad_liter', 'tv_omkomna_enbart_alkohol', 'can_total_liter_15plus', 'tv_omkomna_totalt', 'can_registrerad_liter', 'tv_omkomna_alkohol_och_narkotika', 'can_andel_vin_procent'}).
This happened while the csv dataset builder was generating data using
hf://datasets/YetHow/nollpromille-trafik-2026/data/rattfylleri-sverige.csv (at revision 48c1671d7da93bd15e9d222d3cc7a80a62d620d6), ['hf://datasets/YetHow/nollpromille-trafik-2026@48c1671d7da93bd15e9d222d3cc7a80a62d620d6/data/alkohol-i-trafiken.csv', 'hf://datasets/YetHow/nollpromille-trafik-2026@48c1671d7da93bd15e9d222d3cc7a80a62d620d6/data/rattfylleri-sverige.csv']
Please either edit the data files to have matching columns, or separate them into different configurations (see docs at https://hf.co/docs/hub/datasets-manual-configuration#multiple-configurations)
Traceback: Traceback (most recent call last):
File "/usr/local/lib/python3.14/site-packages/datasets/builder.py", line 1856, in _prepare_split_single
writer.write_table(table)
~~~~~~~~~~~~~~~~~~^^^^^^^
File "/usr/local/lib/python3.14/site-packages/datasets/arrow_writer.py", line 811, in write_table
self._write_table(pa_table, writer_batch_size=writer_batch_size)
~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.14/site-packages/datasets/arrow_writer.py", line 822, in _write_table
pa_table = table_cast(pa_table, self._schema)
File "/usr/local/lib/python3.14/site-packages/datasets/table.py", line 2394, in table_cast
return cast_table_to_schema(table, schema)
File "/usr/local/lib/python3.14/site-packages/datasets/table.py", line 2322, in cast_table_to_schema
raise CastError(
...<3 lines>...
)
datasets.table.CastError: Couldn't cast
ar: int64
trafikbrottslagen_totalt: int64
rattfylleri_alkohol_4_4a_tbl: int64
rattfylleri_narkotika_4_2st_tbl: int64
rattfylleri_totalt: int64
andel_alkohol_procent: double
andel_narkotika_procent: double
kalla: string
-- schema metadata --
pandas: '{"index_columns": [{"kind": "range", "name": null, "start": 0, "' + 1369
to
{'ar': Value('int64'), 'can_total_liter_15plus': Value('float64'), 'can_registrerad_liter': Value('float64'), 'can_systembolaget_liter': Value('float64'), 'can_oregistrerad_liter': Value('float64'), 'can_andel_vin_procent': Value('float64'), 'can_andel_starkol_procent': Value('float64'), 'can_andel_sprit_procent': Value('float64'), 'tv_omkomna_totalt': Value('float64'), 'tv_omkomna_alkohol_eller_narkotika': Value('float64'), 'tv_andel_alkohol_eller_narkotika_procent': Value('float64'), 'tv_omkomna_enbart_alkohol': Value('float64'), 'tv_omkomna_enbart_narkotika': Value('float64'), 'tv_omkomna_alkohol_och_narkotika': Value('float64'), 'kalla': Value('string')}
because column names don't match
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/src/services/worker/src/worker/job_runners/config/parquet_and_info.py", line 1379, in compute_config_parquet_and_info_response
parquet_operations, partial, estimated_dataset_info = stream_convert_to_parquet(
~~~~~~~~~~~~~~~~~~~~~~~~~^
builder, max_dataset_size_bytes=max_dataset_size_bytes
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/src/services/worker/src/worker/job_runners/config/parquet_and_info.py", line 956, in stream_convert_to_parquet
builder._prepare_split(split_generator=splits_generators[split], file_format="parquet")
~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.14/site-packages/datasets/builder.py", line 1702, in _prepare_split
for job_id, done, content in self._prepare_split_single(
~~~~~~~~~~~~~~~~~~~~~~~~~~^
gen_kwargs=gen_kwargs, job_id=job_id, **_prepare_split_args
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
):
^
File "/usr/local/lib/python3.14/site-packages/datasets/builder.py", line 1858, in _prepare_split_single
raise DatasetGenerationCastError.from_cast_error(
...<4 lines>...
)
datasets.exceptions.DatasetGenerationCastError: An error occurred while generating the dataset
All the data files must have the same columns, but at some point there are 6 new columns ({'rattfylleri_narkotika_4_2st_tbl', 'rattfylleri_totalt', 'rattfylleri_alkohol_4_4a_tbl', 'trafikbrottslagen_totalt', 'andel_alkohol_procent', 'andel_narkotika_procent'}) and 13 missing columns ({'can_andel_starkol_procent', 'tv_omkomna_alkohol_eller_narkotika', 'can_systembolaget_liter', 'tv_andel_alkohol_eller_narkotika_procent', 'can_andel_sprit_procent', 'tv_omkomna_enbart_narkotika', 'can_oregistrerad_liter', 'tv_omkomna_enbart_alkohol', 'can_total_liter_15plus', 'tv_omkomna_totalt', 'can_registrerad_liter', 'tv_omkomna_alkohol_och_narkotika', 'can_andel_vin_procent'}).
This happened while the csv dataset builder was generating data using
hf://datasets/YetHow/nollpromille-trafik-2026/data/rattfylleri-sverige.csv (at revision 48c1671d7da93bd15e9d222d3cc7a80a62d620d6), ['hf://datasets/YetHow/nollpromille-trafik-2026@48c1671d7da93bd15e9d222d3cc7a80a62d620d6/data/alkohol-i-trafiken.csv', 'hf://datasets/YetHow/nollpromille-trafik-2026@48c1671d7da93bd15e9d222d3cc7a80a62d620d6/data/rattfylleri-sverige.csv']
Please either edit the data files to have matching columns, or separate them into different configurations (see docs at https://hf.co/docs/hub/datasets-manual-configuration#multiple-configurations)Need help to make the dataset viewer work? Make sure to review how to configure the dataset viewer, and open a discussion for direct support.
ar int64 | can_total_liter_15plus float64 | can_registrerad_liter float64 | can_systembolaget_liter float64 | can_oregistrerad_liter float64 | can_andel_vin_procent float64 | can_andel_starkol_procent float64 | can_andel_sprit_procent float64 | tv_omkomna_totalt null | tv_omkomna_alkohol_eller_narkotika null | tv_andel_alkohol_eller_narkotika_procent null | tv_omkomna_enbart_alkohol null | tv_omkomna_enbart_narkotika null | tv_omkomna_alkohol_och_narkotika null | kalla string |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
2,019 | 8.98 | 7.14 | 5.82 | 1.84 | 42.3 | 32.5 | 18.6 | null | null | null | null | null | null | CAN Rapport 246 (2019b-serie) |
2,020 | 8.47 | 7.47 | 6.47 | 1.01 | 45.1 | 31.1 | 16.9 | null | null | null | null | null | null | CAN Rapport 246 |
2,021 | 8.68 | 7.6 | 6.5 | 1.08 | 44.5 | 31.1 | 17.7 | null | null | null | null | null | null | CAN Rapport 246 |
2,022 | 8.88 | 7.56 | 6.2 | 1.32 | 43.7 | 31.8 | 18.1 | null | null | null | null | null | null | CAN Rapport 246 |
2,023 | 8.58 | 7.39 | 6.09 | 1.2 | 43.9 | 31.4 | 18.4 | null | null | null | null | null | null | CAN Rapport 246 |
2,024 | 8.4 | 7.33 | 6.05 | 1.07 | 43.2 | 32.4 | 18.3 | null | null | null | null | null | null | CAN Rapport 246; Trafikverket djupstudier |
2,025 | 8.16 | 7.15 | 5.85 | 1.02 | 43 | 32.7 | 18.2 | null | null | null | null | null | null | CAN Rapport 246; Trafikverket djupstudier |
2,016 | null | null | null | null | null | null | null | null | null | null | null | null | null | Bra Tabell 10 (10La_anm_10_ar.xlsx) |
2,017 | null | null | null | null | null | null | null | null | null | null | null | null | null | Bra Tabell 10 (10La_anm_10_ar.xlsx) |
2,018 | null | null | null | null | null | null | null | null | null | null | null | null | null | Bra Tabell 10 (10La_anm_10_ar.xlsx) |
2,019 | null | null | null | null | null | null | null | null | null | null | null | null | null | Bra Tabell 10 (10La_anm_10_ar.xlsx) |
2,020 | null | null | null | null | null | null | null | null | null | null | null | null | null | Bra Tabell 10 (10La_anm_10_ar.xlsx) |
2,021 | null | null | null | null | null | null | null | null | null | null | null | null | null | Bra Tabell 10 (10La_anm_10_ar.xlsx) |
2,022 | null | null | null | null | null | null | null | null | null | null | null | null | null | Bra Tabell 10 (10La_anm_10_ar.xlsx) |
2,023 | null | null | null | null | null | null | null | null | null | null | null | null | null | Bra Tabell 10 (10La_anm_10_ar.xlsx) |
2,024 | null | null | null | null | null | null | null | null | null | null | null | null | null | Bra Tabell 10 (10La_anm_10_ar.xlsx) |
2,025 | null | null | null | null | null | null | null | null | null | null | null | null | null | Bra Tabell 10 (10La_anm_10_ar.xlsx) |
Nollpromille Swedish Traffic & Alcohol Open Data (2016-2025)
Open CSV datasets compiling finalized Swedish public statistics on reported drunk and drug-impaired driving offences (Brå, 2016 to 2025), alcohol- and drug-related road traffic fatalities (Trafikverket in-depth crash studies, 2024 to 2025), and total per-capita alcohol consumption (CAN Rapport 246, 2019 to 2025).
Every figure reproduces finalized agency publications without private estimates. Full Swedish reports and interactive sobriety calculators live at nollpromille.se/rapporter/.
Svensk sammanfattning
Det här arkivet samlar två öppna CSV-filer från Nollpromille.se baserade på slutlig årsstatistik från Brottsförebyggande rådet (Brå), Trafikverket och Centralförbundet för alkohol- och narkotikaupplysning (CAN):
- Anmälda rattfylleribrott 2016-2025 (
rattfylleri-sverige.csv, Brå Tabell 10): Under 2025 anmäldes22 914rattfylleribrott (+257mot 2024). Av dessa gällde10 272alkohol (44,8 %, 4 och 4 a § TBL) och12 642enbart narkotika (55,2 %, 4 § 2 st. TBL). Varje år sedan 2016 har anmälda drograttfylleribrott varit fler än alkoholrattfylleribrott. - Dödsolyckor i vägtrafiken 2024-2025 (
alkohol-i-trafiken.csv, Trafikverket): År 2025 omkom35personer i alkohol- eller narkotikarelaterade vägtrafikolyckor (17 %av totalt203omkomna), en minskning från48personer (23 %av213) år 2024. Av de 35 dödsfallen 2025 avsåg20enbart alkohol (>= 0,2‰),10enbart narkotika och5båda substanserna (totalt25alkoholrelaterade dödsfall,12 %). - Alkoholkonsumtion 2019-2025 (
alkohol-i-trafiken.csv, CAN Rapport 246): Förbrukningen per invånare (15 år och äldre) sjönk från8,98liter ren alkohol 2019 till8,16liter år 2025 (-0,82liter,-9,1 %), varav5,85liter via Systembolaget.
Se rapporterna på nollpromille.se/rapporter/, typfall för morgonkörning på nollpromille.se/dagen-efter/ och vår inbäddningsbara promilleräknare på nollpromille.se/embed/promille/.
Datasets in this repository
| File | Coverage | Live report (Swedish) |
|---|---|---|
data/rattfylleri-sverige.csv |
10-year series (2016 to 2025): Traffic Offences Act totals, alcohol DUI (4, 4 a § TBL), drug-only DUI (4 § 2 st. TBL), and shares (Brå Tabell 10) |
Rattfylleri i Sverige 2016-2025 |
data/alkohol-i-trafiken.csv |
7-year series (2019 to 2025): CAN per-capita alcohol consumption (15+) and beverage shares combined with Trafikverket 2024-2025 fatal crash counts | Alkohol i vägtrafiken och dödsolyckor 2025 |
1. Reported DUI Offences in Sweden, 2016 to 2025 (Brå Tabell 10)
All rows from data/rattfylleri-sverige.csv:
| Year | Traffic Offences Act total | Alcohol DUI (4, 4 a § TBL) | Drug-only DUI (4 § 2 st. TBL) | Total DUI | Alcohol share | Drug share |
|---|---|---|---|---|---|---|
| 2016 | 79,301 | 12,065 | 12,631 | 24,696 | 48.9% | 51.1% |
| 2017 | 89,917 | 11,776 | 13,804 | 25,580 | 46.0% | 54.0% |
| 2018 | 92,252 | 11,626 | 14,301 | 25,927 | 44.8% | 55.2% |
| 2019 | 85,668 | 12,053 | 14,569 | 26,622 | 45.3% | 54.7% |
| 2020 | 84,438 | 8,804 | 16,781 | 25,585 | 34.4% | 65.6% |
| 2021 | 75,973 | 8,192 | 14,834 | 23,026 | 35.6% | 64.4% |
| 2022 | 68,949 | 10,398 | 12,722 | 23,120 | 45.0% | 55.0% |
| 2023 | 65,535 | 10,568 | 12,627 | 23,195 | 45.6% | 54.4% |
| 2024 | 63,548 | 10,466 | 12,191 | 22,657 | 46.2% | 53.8% |
| 2025 | 61,519 | 10,272 | 12,642 | 22,914 | 44.8% | 55.2% |
Methodological note from Brå: DUI is a police enforcement offence (spanings- och ingripandebrott). Year-on-year swings (including the 2020-2021 alcohol dip to 8,804 and 8,192 reports) reflect roadside breath-testing volume and police priorities alongside underlying driving behavior.
2. Alcohol Consumption (CAN) and Fatal Traffic Crashes (Trafikverket), 2019 to 2025
All rows from data/alkohol-i-trafiken.csv (blank cells indicate years where Trafikverket's summary table did not report that breakdown):
| Year | Total 15+ (L) | Registered (L) | Systembolaget (L) | Unregistered (L) | Wine | Strong beer | Spirits | Road deaths total | Alcohol/drug deaths | Share | Alcohol only / Drugs only / Both |
|---|---|---|---|---|---|---|---|---|---|---|---|
| 2019* | 8.98 | 7.14 | 5.82 | 1.84 | 42.3% | 32.5% | 18.6% | ||||
| 2020 | 8.47 | 7.47 | 6.47 | 1.01 | 45.1% | 31.1% | 16.9% | ||||
| 2021 | 8.68 | 7.60 | 6.50 | 1.08 | 44.5% | 31.1% | 17.7% | ||||
| 2022 | 8.88 | 7.56 | 6.20 | 1.32 | 43.7% | 31.8% | 18.1% | ||||
| 2023 | 8.58 | 7.39 | 6.09 | 1.20 | 43.9% | 31.4% | 18.4% | ||||
| 2024 | 8.40 | 7.33 | 6.05 | 1.07 | 43.2% | 32.4% | 18.3% | 213 | 48 | 23% | |
| 2025 | 8.16 | 7.15 | 5.85 | 1.02 | 43.0% | 32.7% | 18.2% | 203 | 35 | 17% | 20 / 10 / 5 |
*2019 uses CAN's revised comparable 2019b series (CAN Rapport 246). Trafikverket defines a fatal crash as alcohol-related when at least 0.2‰ is detected in a motor-vehicle driver, cyclist, or pedestrian.
Column Dictionary
data/rattfylleri-sverige.csv
ar: Calendar year (2016to2025).trafikbrottslagen_totalt: Total reported offences under Sweden's Traffic Offences Act (Lag 1951:649 om straff för vissa trafikbrott).rattfylleri_alkohol_4_4a_tbl: Reported drunk driving and aggravated drunk driving offences involving alcohol or alcohol combined with drugs (4and4 a § TBL).rattfylleri_narkotika_4_2st_tbl: Reported drug-impaired driving offences involving narcotics only (4 § 2 st. TBL).rattfylleri_totalt: Sum of alcohol and drug-only DUI reports (rattfylleri_alkohol_4_4a_tbl + rattfylleri_narkotika_4_2st_tbl).andel_alkohol_procent: Percentage share of alcohol DUI inrattfylleri_totalt.andel_narkotika_procent: Percentage share of drug-only DUI inrattfylleri_totalt.kalla: Primary source table (Bra Tabell 10 (10La_anm_10_ar.xlsx)).
data/alkohol-i-trafiken.csv
ar: Calendar year (2019to2025).can_total_liter_15plus: Total pure alcohol consumption in litres per inhabitant aged 15+ (CAN Rapport 246).can_registrerad_liter: Registered sales component in litres of pure alcohol per inhabitant 15+.can_systembolaget_liter: Systembolaget retail sales component in litres of pure alcohol per inhabitant 15+.can_oregistrerad_liter: Unregistered component (traveller imports, smuggling, home production) in litres per inhabitant 15+.can_andel_vin_procent: Wine share of total pure alcohol consumption (%).can_andel_starkol_procent: Strong beer (starköl) share of total pure alcohol consumption (%).can_andel_sprit_procent: Spirits (sprit) share of total pure alcohol consumption (%).tv_omkomna_totalt: Total road traffic fatalities in Sweden (Trafikverket in-depth studies, 2024-2025).tv_omkomna_alkohol_eller_narkotika: Road fatalities involving alcohol (>= 0.2‰) and/or narcotics.tv_andel_alkohol_eller_narkotika_procent: Share of total road fatalities involving alcohol and/or narcotics (%).tv_omkomna_enbart_alkohol: Road fatalities involving alcohol only (2025 breakdown).tv_omkomna_enbart_narkotika: Road fatalities involving narcotics only (2025 breakdown).tv_omkomna_alkohol_och_narkotika: Road fatalities involving both alcohol and narcotics (2025 breakdown).kalla: Primary source agencies (CAN Rapport 246;Trafikverket djupstudier).
Primary Official Sources and Tools
Official sources:
- Brottsförebyggande rådet (Brå): Anmälda brott, slutlig statistik 2016-2025 (Tabell 10)
- Trafikverket: Alkohol och narkotika i vägtrafiken (djupstudier av dödsolyckor)
- CAN: Alkoholkonsumtionen i Sverige 2001-2025 (CAN Rapport 246)
- Sveriges riksdag: Lag (1951:649) om straff för vissa trafikbrott, 4 § och 4 a §
Tools and reports on Nollpromille.se:
- Reports hub: https://nollpromille.se/rapporter/
- Brå 2016-2025 DUI report: https://nollpromille.se/rapporter/rattfylleri-sverige/
- Trafikverket & CAN report: https://nollpromille.se/rapporter/alkohol-i-trafiken/
- Morning-after scenarios (Promille dagen efter): https://nollpromille.se/dagen-efter/
- Lightweight BAC estimator embed (iframe, no login, informational estimate only): https://nollpromille.se/embed/promille/
License and Citation
All CSV files and documentation are released under Creative Commons Attribution 4.0 International (CC-BY-4.0).
You may republish, chart, or adapt these datasets with attribution to the respective Swedish public authority and Nollpromille.se (https://nollpromille.se/rapporter/). Machine-readable citation metadata is provided in CITATION.cff.
Nollpromille.se (2026). Nollpromille Swedish Traffic & Alcohol Data (2016-2025): Brå DUI Offences, Trafikverket Fatal Crashes, and CAN Consumption [Dataset]. https://nollpromille.se/rapporter/ (CC-BY-4.0).
- Downloads last month
- -