{ "name": "gsscode", "abstract": "UK ONS/GSS geography code type, packed into 32 bits", "description": "Packs a 9-character UK ONS/GSS statistical geography code (eg E01000001) into a 32-bit integer for fast indexing and prefix matching. Includes %/!% prefix-match operators (single or array of prefixes), text-compatibility shims (~, ~*, LEFT()) for queries written against the original text column, isnan() for ONS's reserved/placeholder codes, and a private type-registry table (description()) seeded from and refreshable against the ONS Register of Geographic Codes.", "version": "1.0.0", "maintainer": [ "John Burns " ], "license": "postgresql", "provides": { "gsscode": { "abstract": "UK ONS/GSS geography code type, packed into 32 bits", "file": "gsscode--1.0.0.sql", "version": "1.0.0" }, "gsscode_ons_refresh": { "abstract": "Optional in-database refresh of gsscode_types via plpython3u", "file": "gsscode_ons_refresh--1.0.0.sql", "version": "1.0.0" } }, "generated_by": "John Burns", "meta-spec": { "version": "1.0.0", "url": "https://pgxn.org/meta/spec.txt" }, "tags": [ "gss", "ons", "geography", "uk", "statistics" ] }