Skip to contents

Sample of stats19 data (2022 collisions)

Format

A data frame

Note

These were generated using the script in the data-raw directory (misc.Rmd file).

Examples

# \donttest{
nrow(accidents_sample_raw)
#> [1] 3
accidents_sample_raw
#> # A tibble: 3 × 37
#>   accident_index accident_year accident_reference location_easting_osgr
#>   <chr>                  <dbl> <chr>                              <dbl>
#> 1 2022010383503           2022 010383503                         509825
#> 2 2022461254259           2022 461254259                         575966
#> 3 2022501244628           2022 501244628                         158521
#> # ℹ 33 more variables: location_northing_osgr <dbl>, longitude <dbl>,
#> #   latitude <dbl>, police_force <chr>, accident_severity <chr>,
#> #   number_of_vehicles <dbl>, number_of_casualties <dbl>, date <date>,
#> #   day_of_week <chr>, time <hms>, local_authority_district <chr>,
#> #   local_authority_ons_district <chr>, local_authority_highway <chr>,
#> #   first_road_class <chr>, first_road_number <chr>, road_type <chr>,
#> #   speed_limit <dbl>, junction_detail <chr>, junction_control <chr>, …
# }