Skip to contents

Reference

Concepts

The mental model behind geoscales: leaves, geoframes as partitions (not a tree), authored region IDs, shares and weights, and the naming lattice shared with timescales.

Data structures

Anatomy of a GeoScale: the leaftable, geoframes, members, geometry and meta properties, what the validator guarantees, and the rule/map/provider registries.

Data manipulation with geoscales

The tidy workflow end to end: attach a GeoScale to region-keyed tables, recast values between resolutions, inspect the crosswalk, chain time and space with recast(), and run the same pipelines over data.table and arrow backends.

Building a GeoScale from Natural Earth

Providers in practice: pull Natural Earth admin layers into a GeoScale, aggregate up and split back down, and let geometry follow the geoframes.

Visualization with ggplot2

The geoscales viz surface on real maps: composable geom_geoscale() choropleths, recasts seen on the map, per-geoframe facets, the structure figures, and a real-map tour of Iceland with data attached.