Movatterモバイル変換


[0]ホーム

URL:


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

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 LovelaceORCID iD [aut, cre], Malcolm MorganORCID iD [aut], Layik HamaORCID iD [aut], Mark PadghamORCID iD [aut], David Ranzolin [rev], Adam SparksORCID iD [rev, ctb], Ivo Wengraf [ctb], RAC Foundation [fnd], Blaise KellyORCID iD [aut]
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.html ,stats19.pdf
Vignettes:stats19: a package for road safety research (source,R code)
Reproducing Reported road casualties in Great Britain: pedestrian factsheet (source,R code)
An introduction to road safety analysis with R: setup notes (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.4.0.tar.gz
Windows binaries: r-devel:stats19_3.4.0.zip, r-release:stats19_3.4.0.zip, r-oldrel:stats19_3.4.0.zip
macOS binaries: r-release (arm64):stats19_3.4.0.tgz, r-oldrel (arm64):stats19_3.4.0.tgz, r-release (x86_64):stats19_3.4.0.tgz, r-oldrel (x86_64):stats19_3.4.0.tgz
Old sources: stats19 archive

Linking:

Please use the canonical formhttps://CRAN.R-project.org/package=stats19to link to this page.


[8]ページ先頭

©2009-2025 Movatter.jp