Skip to content
SPECIFICTION
Get listed

stats19

docs.ropensci.org

Free plan WindowsmacOSLinux

Spec sheet

Purpose
stats19 provides functions for downloading and formatting Great Britain’s official road traffic casualty data.Read 12 Oct 2026 · docs.ropensci.org
Intended users
The project article identifies academics, policy makers, road safety campaigners, and R programmers or analysts as target audiences.Read 12 Oct 2026 · docs.ropensci.org
Deployment
desktopRead 23 Sep 2026 · docs.ropensci.org
Free plan
YesRead 23 Sep 2026 · docs.ropensci.org
Integrations
The documentation demonstrates using stats19 data with sf and dplyr for geographic operations and joins.Read 12 Oct 2026 · docs.ropensci.org
Support
The package page directs bug reports to its GitHub issues tracker.Read 12 Oct 2026 · cran.r-project.org
License
The package is licensed under GPL-3.Read 12 Oct 2026 · cran.r-project.org
Combined workflow
The get_stats19() function downloads, reads, and formats STATS19 data in one step.Read 12 Oct 2026 · docs.ropensci.org
Data coverage
The package page states that STATS19 data is available from 1979 to 2025.Read 12 Oct 2026 · cran.r-project.org
Data import formats
CSV files from UK STATS19 datasetsRead 23 Sep 2026 · docs.ropensci.org
Data licence
The documentation says the data is provided under the Open Government Licence v3.0 and asks users to cite and link to its source.Read 12 Oct 2026 · docs.ropensci.org
Data license
The documentation says the data is provided under the Open Government Licence version 3.0.Read 12 Oct 2026 · docs.ropensci.org
Data tables
The data is organized into collisions, casualties, and vehicles tables.Read 12 Oct 2026 · docs.ropensci.org
Download and formatting
The get_stats19() function downloads and formats data by year and table type, while separate functions can download or read the tables.Read 12 Oct 2026 · docs.ropensci.org
Geographic data
The package can convert collision data into the geographic data form used by the sf package.Read 12 Oct 2026 · docs.ropensci.org
Installation
The docs provide installation instructions for the package from GitHub and CRAN.Read 12 Oct 2026 · docs.ropensci.org
Mapping
The documentation demonstrates mapping crash data with ggplot2 and leaflet.Read 12 Oct 2026 · docs.ropensci.org
Notable data limit
The project article states that STATS19 omits crashes in which nobody was hurt.Read 12 Oct 2026 · docs.ropensci.org
Publication
The package documentation says stats19 has been peer reviewed and published in the Journal of Open Source Software.Read 12 Oct 2026 · docs.ropensci.org
Research use
The documentation describes using the data for road safety research, mapping, and time series analysis.Read 12 Oct 2026 · docs.ropensci.org
Review
The project documentation says the package has been peer reviewed and published in the Journal of Open Source Software.Read 12 Oct 2026 · docs.ropensci.org
Scripting support
YesRead 23 Sep 2026 · docs.ropensci.org
Separate workflow
Users can download files or read collision, casualty, and vehicle data separately.Read 12 Oct 2026 · docs.ropensci.org
Spatial data
The package can convert collision data into sf geographic data, and rows without coordinates are removed during conversion.Read 12 Oct 2026 · docs.ropensci.org

Plans and prices

stats19 R package Free No paid plans listed · Requires R ≥ 4.1.0 Read 12 Oct 2026 · cran.r-project.org

Every stats19 plan and price →

Where Specifiction places it

Alternatives to stats19All alternatives →