chicago_tree: Chicago Crime - Hierarchy

chicago_treeR Documentation

Chicago Crime - Hierarchy

Description

Hierarchical classification of crime incidents by type, description and location group.

Usage

chicago_tree

Format

A data.frame with 2,841 rows and 2 columns:

node_id

Character identifier of each node.

parent_id

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

Details

4-level tree: Root -> Crime Type -> Description -> Location Group. 2,486 leaf nodes. Leaf node IDs follow the pattern "<TYPE> | <DESCRIPTION> | <LOCATION>".

Source

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

See Also

chicago_crimes

Examples

data(chicago_tree)
head(chicago_tree)

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