Skip to the content
Know your tech before you buy it. Makers: get listed from $49/mo

stats19

docs.ropensci.org

  • Free plan
  • Windows
  • macOS
  • Linux
7.9 Club score Visit docs.ropensci.org

stats19 R package

Free

Free plan

What the maker publishes

Combined workflow
The get_stats19() function downloads, reads, and formats STATS19 data in one step. source
Data coverage
The project DESCRIPTION says data is available from 1979 to 2025. source
Data coverage
The package page states that STATS19 data is available from 1979 to 2025. source
Data import formats
CSV files from UK STATS19 datasets source
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. source
Data license
The documentation says the data is provided under the Open Government Licence version 3.0. source
Data tables
The data is organized into collisions, casualties, and vehicles tables. source
Deployment
desktop source
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. source
Free plan
Yes source
Geographic data
The package can convert collision data into the geographic data form used by the sf package. source
Installation
The docs provide installation instructions for the package from GitHub and CRAN. source
Integrations
The documentation demonstrates using stats19 data with sf and dplyr for geographic operations and joins. source
Intended users
The project article identifies academics, policy makers, road safety campaigners, and R programmers or analysts as target audiences. source
License
The package is licensed under GPL-3. source
Mapping
The documentation demonstrates mapping crash data with ggplot2 and leaflet. source
Notable data limit
The project article states that STATS19 omits crashes in which nobody was hurt. source
Publication
The package documentation says stats19 has been peer reviewed and published in the Journal of Open Source Software. source
Purpose
stats19 provides functions for downloading and formatting Great Britain’s official road traffic casualty data. source
Research use
The documentation describes using the data for road safety research, mapping, and time series analysis. source
Review
The project documentation says the package has been peer reviewed and published in the Journal of Open Source Software. source
Scripting support
Yes source
Separate workflow
Users can download files or read collision, casualty, and vehicle data separately. source
Spatial data
The package can convert collision data into sf geographic data, and rows without coordinates are removed during conversion. source

Checked against the maker's pages on 12 Oct 2026.