Skip to contents

stats19 3.2.0 2024-10

CRAN release: 2024-10-24

  • Updates so package functions fail gracefully when input data is not as expected, e.g. due to URL changes (#252)

stats19 3.1.0 2024-07

CRAN release: 2024-08-01

  • stats19 now relies on the stats19_variables object to format the different tables columns (#245) (credit @layik), fixing an issue in which ages were removed from the casualties table, fixing (#235)
  • If year is less than 2018 the package auto-downloads the full dataset (#239)

stats19 3.0.3 2024-02

CRAN release: 2024-02-08

  • Update documentation to account for the shift in table names, replacing accidents with collisions and casualty with casualties (#232)

stats19 3.0.2 2023-11

CRAN release: 2023-11-04

  • Fix issue with coordinates as characters (#228)

stats19 3.0.1 2023-10

stats19 3.0.0 2023-10

CRAN release: 2023-10-12

  • Major update so the package works with the new csv files (up to 2022)
  • Deprecation of read_accidents in favour of read_collisions and using consistent collision instead of accidents.
  • Other minor improvements

stats19 2.0.1 2022-11

CRAN release: 2022-11-17

  • Changes spatstat.core related code (#217)

stats19 2.0.0 2020-10

CRAN release: 2021-10-29

  • Major changes to the datasets provided by the DfT have led to major changes to the package. See (#212) for details.
  • To reduce code complexity the package no longer supports reading in multiple years
  • This puts the onus on the user of the package to understand the input data, rather than relying on clever coding to join everything together. Note: you can easily join different years, e.g. with the command purrr::map_dfr().

stats19 1.5.0 2021-10

  • Support new https download links (#208)
  • Package tests now pass when wifi is turned off
  • URLs have been fixed

stats19 1.4.3 2021-07-21

CRAN release: 2021-07-21

  • Use 1st edition of readr on Windows to prevent errors on reading data (#205)

stats19 1.4.2 2021-07

stats19 1.4.1

CRAN release: 2021-03-28

  • New function get_ULEZ() to get data on vehicles from a number plate (thanks to Ivo Wengraf)
  • Added a test to prevent rare failures in get_stats19() when data_dir points to the working directory

stats19 1.4.0

CRAN release: 2021-03-15

stats19 1.3.0

CRAN release: 2020-10-01

  • Support for 2019 data (#171)

stats19 1.2.0

CRAN release: 2020-03-03

stats19 1.1.0

CRAN release: 2019-10-15

stats19 1.0.0

CRAN release: 2019-07-28

stats19 0.2.1

CRAN release: 2019-04-03

  • Fixed issue with column labels not being there - see #82

stats19 0.2.0

CRAN release: 2019-02-15

  • get_stats19() gains an ask argument (TRUE by default, set as FALSE to make road crash data access even more automated!)
  • The date column now is of the correct class after formatting POSIXct. See #86
  • Added a NEWS.md file to track changes to the package.