---
id: "faostat_area_code"
kind: "datatype"
status: "draft"
is_pii: false
name: "FAOSTAT area code"
regexp: "^[1-9]\\d{0,3}$"
categories: ["agriculture", "geo"]
langs: ["common"]
quality: 90
url: "https://registry.apicrafter.io/datatype/faostat_area_code"
---

# FAOSTAT area code (`faostat_area_code`)

> **Draft.** Draft records have not been reviewed yet and may be incomplete or wrong; do not treat them as authoritative for legal or compliance decisions.

Numeric code of a country, territory or group of countries in FAOSTAT, the statistical database of the Food and Agriculture Organization (the Area Code column of its downloads): 114 Kenya, 231 United States, 5000 World. The codes are FAO's own and differ from the M49 codes.

- Personal data (PII): no
- Categories: Agriculture, livestock and food (agriculture), Geographic identifiers (geo)
- Countries: global
- Languages: Common to most languages (common)
- Classification: identifier

## Detection

Regular expression (Python `re`):

```
^[1-9]\d{0,3}$
```

## Examples

- `114` — Kenya
- `231` — United States of America
- `5000` — World
- `KEN` (invalid example) — An ISO code

## Metacrafter rules

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

- `faostatareacodebyname` (field, `common/research_codes.yaml`)

## Supported by tools

- [`metacrafter`](https://registry.apicrafter.io/tool/metacrafter.md)

## Translations

- ru: Код территории FAOSTAT

## Sources

- doc: <https://www.fao.org/faostat/en/#definitions>

## Quality

Score 90/100. Missing: mapping (Wikidata, Schema.org, ...).

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