Skip to content

Region / State

Type Registry

Region / State

geography.location.region

Subdivision of a country (state, province, region). Locale-specific due to regional name conventions.

Domain geographylocation
Casts to VARCHAR
Scope Locale-specific
Locales EN, EN_AU, EN_GB, EN_CA, EN_US, DE, FR, ES, IT, NL, PL, RU, JA, ZH, KO, AR

Try it

CLI
$ finetype infer -i "California"
→ geography.location.region

DuckDB

Detect
SELECT finetype('California');
-- → 'geography.location.region'
Cast expression
CAST({col} AS VARCHAR)
Safe cast pipeline
-- Normalise and cast in one step
SELECT TRY_CAST(finetype_cast(my_column) AS VARCHAR) AS clean_value
FROM my_table
WHERE finetype(my_column) = 'geography.location.region';

JSON Schema

finetype schema geography.location.region
{
  "$id": "https://noon.sh/schemas/geography.location.region",
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "description": "Subdivision of a country (state, province, region). Locale-specific due to regional name conventions.",
  "examples": [
    "California",
    "Texas",
    "Ontario",
    "Bavaria",
    "Île-de-France"
  ],
  "maxLength": 100,
  "minLength": 2,
  "title": "Region / State",
  "type": "string"
}

Examples

CaliforniaTexasOntarioBavariaÎle-de-France

Also known as

stateprovincesubdivision

Types in geography