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 <https://www.data.gov.uk/dataset/cb7ae6f0-4be6-4935-9277-47e5ce24a11f/road-safety-data> 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.1.0
Depends: R (≥ 3.5.0)
Imports: methods, 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-08-01
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 gmail.com>
BugReports: https://github.com/ropensci/stats19/issues
License: GPL-3
URL: https://github.com/ropensci/stats19, https://docs.ropensci.org/stats19/
NeedsCompilation: no
Language: en-US
Citation: stats19 citation info
Materials: README NEWS
CRAN checks: stats19 results

Documentation:

Reference manual: stats19.pdf
Vignettes: stats19: a package for road safety research (source, R code)
stats19-training-setup (source, R code)
Introducing stats19 (source, R code)
Researching vehicles involved in collisions with STATS19 data (source, R code)
stats19-intro (source, R code)

Downloads:

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

Linking:

Please use the canonical form https://CRAN.R-project.org/package=stats19 to link to this page.