london_tree: London Road Collisions - Hierarchy

london_treeR Documentation

London Road Collisions - Hierarchy

Description

Hierarchical classification of road collisions by light conditions, road type, and junction detail.

Usage

london_tree

Format

A data.frame with 81 rows and 2 columns:

node_id

Character identifier of each node.

parent_id

Character identifier of the parent node. NA for the root.

Details

3-level tree: Root -> Light conditions (Daylight/Darkness) -> Road type (5 types) -> Junction detail (7 types). 68 leaf categories.

Source

Constructed from the leaf-level codes in london_collisions. See data-raw/ in the GitHub repository for the build script.

See Also

london_collisions

Examples

data(london_tree)
head(london_tree)

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