london_collisions: London Road Collisions (2022)

london_collisionsR Documentation

London Road Collisions (2022)

Description

Combined long-format dataset of road traffic collisions in the 33 London boroughs, 2022. Each row represents a (borough, collision-category) combination with at least one collision. Use together with london_tree.

Usage

london_collisions

Format

A data.frame in long format with columns:

region_id

Integer identifier of the borough.

borough

Borough name.

population

Total collisions in the borough (used as population denominator).

x

Longitude of the borough centroid.

y

Latitude of the borough centroid.

node_id

Character leaf identifier from london_tree.

cases

Integer count of collisions.

Source

UK Department for Transport, STATS19 data via the stats19 R package.

See Also

london_tree, london_boroughs_map

Examples

data(london_collisions)
head(london_collisions)
cat("Total collisions:", sum(london_collisions$cases), "\n")

treeSS documentation built on May 16, 2026, 1:08 a.m.