| london_collisions | R Documentation |
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.
london_collisions
A data.frame in long format with columns:
Integer identifier of the borough.
Borough name.
Total collisions in the borough (used as population denominator).
Longitude of the borough centroid.
Latitude of the borough centroid.
Character leaf identifier from london_tree.
Integer count of collisions.
UK Department for Transport, STATS19 data via the stats19 R package.
london_tree, london_boroughs_map
data(london_collisions)
head(london_collisions)
cat("Total collisions:", sum(london_collisions$cases), "\n")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.