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.
read_stats19() function now intelligently filters column
parsers based on the actual CSV header, eliminating extensive warnings
about unmatched parsers (#302).readr Engine: The package
now defaults to readr Edition 2 globally for faster,
multi-threaded parsing, while removing legacy platform-specific
overrides (#302).duckdb Engine: Added a new
engine = "duckdb" option to get_stats19().
This allows for extremely fast, database-level filtering before loading
data into R, yielding up to a 75x speed-up when
querying the full historical (1.5GB) dataset.R/ directory while expanding
overall functionality (#302).accident_* and collision_* are now
automatically unified during formatting. This ensures multi-year joins
(e.g., 2023 vs 2024) work seamlessly without duplicate columns.*_historic) are now automatically merged into their
modern counterparts and dropped, providing a consistent interface across
different data years (#302).-1,
Code deprecated, Data missing) to
NA after formatting (#302).year = 2011:2012) now automatically
identifies the bulk historic files, downloads them once, and filters
requested years efficiently (#302).match_tag()
function to join government TAG (Transport Analysis Guidance) cost
estimates (RAS4001) to collision data (#287, #288, #289, #290).clean_make(), clean_model(), and
clean_make_model() for standardizing vehicle data,
supported by a mapping of over 2,400 unique raw strings (#294).year = 1979 incorrectly returned all
years; it now correctly returns 1979 data only (#282).schema_new.R workflow (#291).%||% operator to utils.R for
package-wide availability (#302).download.file() to
curl::curl_download() for more robust downloads
(#258).STATS19_DOWNLOAD_DIRECTORY environment variable
(#211).dplyr, lubridate, jsonlite) from
Suggests to Imports.reshape2 with tidyr for data
manipulation (#276).year = "5 years" (#261).get_stats19_adjustments() function now returns a
message explaining that adjustments are included in the main casualty
dataset, as the separate adjustments file is no longer provided by the
DfT (#266).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)year is less than 2018 the package auto-downloads
the full dataset (#239)accidents with collisions and
casualty with casualties (#232)timeout in
get_stats19() to 10 minutes (#226)read_accidents in favour of
read_collisions and using consistent collision
instead of accidents.purrr::map_dfr().readr on Windows to prevent errors
on reading data (#205)get_ULEZ() and
get_MOT() functionsget_ULEZ() to get data on vehicles from a
number plate (thanks to Ivo Wengraf)get_stats19()
when data_dir points to the working directoryget_stats19_adjustments() functionget_stats19() and multiple years
that could be linked with the same data file (#168)datetime that is a properly formatted date-time
(POSIXct) object in the correct timezone
(Europe/London) (#146)get_stats19() gains a new argument
output_format() that enables results to be returned as an
sf object or a ppp object for use the the
spatstat package thanks to work by Andrea Gilardi
https://github.com/ropensci/stats19/pull/136dl_stats19(): it is now much easier to
download STATS19 data. By default ask = FALSE in
get_stats19() and dl_stats19().get_stats19() gains an ask argument
(TRUE by default, set as FALSE to make road
crash data access even more automated!)date column now is of the correct class after
formatting POSIXct. See #86NEWS.md file to track changes to the
package.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.