stats19: Work with Open Road Traffic Casualty Data from Great Britain

Tools to help download, process and analyse the UK road collision data collected using the 'STATS19' form. The datasets are provided as 'CSV' files with detailed road safety information about the circumstances of car crashes and other incidents on the roads resulting in casualties in Great Britain from 1979 to present. Tables are available on 'colissions' with the circumstances (e.g. speed limit of road), information about 'vehicles' involved (e.g. type of vehicle), and 'casualties' (e.g. age). The statistics relate only to events on public roads that were reported to the police, and subsequently recorded, using the 'STATS19' collision reporting form. See the Department for Transport website <> for more information on these datasets. The package is described in a paper in the Journal of Open Source Software (Lovelace et al. 2019) <doi:10.21105/joss.01181>. See Gilardi et al. (2022) <doi:10.1111/rssa.12823>, Vidal-Tortosa et al. (2021) <doi:10.1016/j.jth.2021.101291>, and Tait et al. (2023) <doi:10.1016/j.aap.2022.106895> for examples of how the data can be used for methodological and empirical road safety research.

Version: 3.0.3
Depends: R (≥ 3.5.0)
Imports: sf, readr, tools
Suggests: curl (≥ 3.2), dplyr, ggplot2, knitr, lubridate, rmarkdown, stringr, testthat (≥ 2.1.0), tidyr, pkgdown, kableExtra, leaflet, geojsonsf, htmltools, tmap, jsonlite, pct, spatstat.geom, osmdata, covr
Published: 2024-02-09
DOI: 10.32614/CRAN.package.stats19
Author: Robin Lovelace ORCID iD [aut, cre], Malcolm Morgan ORCID iD [aut], Layik Hama ORCID iD [aut], Mark Padgham ORCID iD [aut], David Ranzolin [rev], Adam Sparks ORCID iD [rev, ctb], Ivo Wengraf [ctb], RAC Foundation [fnd]
Maintainer: Robin Lovelace <rob00x at>
License: GPL-3
NeedsCompilation: no
Language: en-US
Citation: stats19 citation info
Materials: README NEWS
CRAN checks: stats19 results


Reference manual: stats19.pdf
Vignettes: stats19: a package for road safety research
Introducing stats19
Researching vehicles involved in collisions with STATS19 data


Package source: stats19_3.0.3.tar.gz
Windows binaries: r-devel:, r-release:, r-oldrel:
macOS binaries: r-release (arm64): stats19_3.0.3.tgz, r-oldrel (arm64): stats19_3.0.3.tgz, r-release (x86_64): stats19_3.0.3.tgz, r-oldrel (x86_64): stats19_3.0.3.tgz
Old sources: stats19 archive


Please use the canonical form to link to this page.