The hardware and bandwidth for this mirror is donated by dogado GmbH, the Webhosting and Full Service-Cloud Provider. Check out our Wordpress Tutorial.
If you wish to report a bug, or if you are interested in having us mirror your free-software or open-source project, please feel free to contact us at mirror[@]dogado.de.
Work with and download road traffic casualty data from Great Britain. Enables access to the UK's official road safety statistics, 'STATS19'. Enables users to specify a download directory for the data, which can be set permanently by adding 'STATS19_DOWNLOAD_DIRECTORY=/path/to/a/dir' to your '.Renviron' file, which can be opened with 'usethis::edit_r_environ()'. The data is provided as a series of '.csv' files. This package downloads, reads-in and formats the data, making it suitable for analysis. See the stats19 vignette for details. Data available from 1979 to 2024. See the official data series at <https://www.data.gov.uk/dataset/cb7ae6f0-4be6-4935-9277-47e5ce24a11f/road-accidents-safety-data>. 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>, Tait et al. (2023) <doi:10.1016/j.aap.2022.106895>, and León et al. (2025) <doi:10.18637/jss.v114.i09> for examples of how the data can be used for methodological and empirical research.
Version: | 3.4.0 |
Depends: | R (≥ 3.5.0) |
Imports: | methods, sf, curl (≥ 3.2), readr, dplyr, lubridate, jsonlite |
Suggests: | ggplot2, knitr, rmarkdown, stringr, testthat (≥ 2.1.0), tidyr, pkgdown, kableExtra, leaflet, geojsonsf, htmltools, tmap, spatstat.geom, osmdata, covr, readODS, gt, clock |
Published: | 2025-10-09 |
DOI: | 10.32614/CRAN.package.stats19 |
Author: | Robin Lovelace |
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 |
Package source: | stats19_3.4.0.tar.gz |
Windows binaries: | r-devel: stats19_3.3.1.zip, r-release: stats19_3.3.1.zip, r-oldrel: stats19_3.3.1.zip |
macOS binaries: | r-release (arm64): stats19_3.3.1.tgz, r-oldrel (arm64): stats19_3.3.1.tgz, r-release (x86_64): stats19_3.3.1.tgz, r-oldrel (x86_64): stats19_3.3.1.tgz |
Old sources: | stats19 archive |
Please use the canonical form https://CRAN.R-project.org/package=stats19 to link to this page.
These binaries (installable software) and packages are in development.
They may not be fully stable and should be used with caution. We make no claims about them.
Health stats visible at Monitor.