Skip to content

Country Name

Type Registry

Country Name

geography.location.country

Country name in English or local language. Locale-specific due to name representation (e.g., "Germany" in English vs "Deutschland" in German).

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 "United States"
→ geography.location.country

DuckDB

Detect
SELECT finetype('United States');
-- → 'geography.location.country'
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.country';

JSON Schema

finetype schema geography.location.country
{
  "$id": "https://noon.sh/schemas/geography.location.country",
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "description": "Country name in English or local language. Locale-specific due to name representation (e.g., \"Germany\" in English vs \"Deutschland\" in German).",
  "examples": [
    "United States",
    "France",
    "Japan",
    "Germany",
    "Canada"
  ],
  "maxLength": 100,
  "minLength": 2,
  "title": "Country Name",
  "type": "string"
}

Examples

United StatesFranceJapanGermanyCanada

Also known as

country_name

Types in geography