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.Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.