---
id: "country"
kind: "datatype"
status: "stable"
is_pii: false
categories: ["geo"]
langs: ["common"]
quality: 60
url: "http://registry.apicrafter.io/datatype/country"
---

# Country code or name (`country`)

A country is a distinct territorial body or political entity. It may be an independent sovereign state or part of a larger state,[2] as a non-sovereign or formerly sovereign political division, a physical territory with a government, or a geographic region associated with sets of previously independent or differently associated peoples with distinct political characteristics.

- Personal data (PII): no
- Categories: Geographic identifiers (geo)
- Countries: global
- Languages: Common to most languages (common)
- Classification: categorical
- Patterns: `countrycode_alpha2`, `countrycode_alpha3`, `countrycode_num`, `decountryname`, `encountryname`, `ruscountryname`

## Mappings

- cdm: `means.location.country`
- d3m: `http://schema.org/Country`, `http://schema.org/addressCountry`
- fta: `COUNTRY.TEXT_CS`, `COUNTRY.TEXT_DA`, `COUNTRY.TEXT_ES`, `COUNTRY.TEXT_FI`, `COUNTRY.TEXT_FR`, `COUNTRY.TEXT_IT`, `COUNTRY.TEXT_JA`, `COUNTRY.TEXT_NL`, `COUNTRY.TEXT_PL`, `COUNTRY.TEXT_PT`, `COUNTRY.TEXT_RO`, `COUNTRY.TEXT_SV`
- schema_org: `addressCountry`
- sherlock: `country`

## Metacrafter rules

2 rules: 2 match the field name, 0 match values.

- `arcountryknown` (field, `ar/ar_geo.yaml`)
- `countryknown` (field, `common/geo.yaml`)

## Supported by tools

- `collibra`
- `csvdetective`
- `dataiku`
- `dataprep`
- `doduo`
- `fta`
- `googledatastudio`
- `greatexpectations`
- `ibmknowledgecatalog`
- `metabase`
- `metacrafter`
- `metacrafterpro`
- `oracleanalyticsdesktop`
- `oracledatasafe`
- `powerbi`
- `sato`
- `sherlock`
- `snowflake`
- `tableau`
- `talend`

## Translations

- ru: Название или код страны: Страна — территория, имеющая политические, физико-географические, культурные или исторические границы, которые могут быть как чётко определёнными и зафиксированными, так и размытыми (в таком случае нередко говорят не о границах, а о «рубежах»).

## Sources

- wikipedia: <https://en.wikipedia.org/wiki/Country>

## Quality

Score 60/100. Missing: regexp, examples, negative example.

JSON: <http://registry.apicrafter.io/api/v1/datatypes/country.json> · Edit: <https://github.com/apicrafter/metacrafter-registry/edit/main/data/datatypes/any/geo/country.yaml>
