Gives the identity of a GeoScale: its name and a hash of its
structure, as "<name>@<hash>". The hash is computed from the geoframes
and the memberships of the regions, not from weights, labels or geometry,
so two objects with the same structure and different weights have the
same hash, and a subset differs from the object it was taken from.
Arguments
- gs
A
GeoScale.
Examples
gs <- geoscale_example()
geoscale_id(gs)
#> [1] "example@e4024622"
geoscale_id(filter_geoscale(gs, "country", "N"))
#> [1] "example[country:N]@e835799a"
