---
id: "ng_lga_code"
kind: "datatype"
status: "draft"
is_pii: false
name: "Nigerian LGA code"
regexp: "^(?:0[1-9]|[12]\\d|3[0-7])\\d{3}$"
categories: ["geo", "government"]
country: ["NG"]
langs: ["common"]
quality: 85
url: "https://registry.apicrafter.io/datatype/ng_lga_code"
---

# Nigerian LGA code (`ng_lga_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.

Five-digit code of a Nigerian local government area in the settlement and boundary data of GRID3 and eHealth Africa, the number of the state in alphabetical order (01 Abia to 37 Zamfara, 15 for the Federal Capital Territory) followed by the number of the LGA within the state, such as 19001 for Birnin Gwari in Kaduna State. Australian LGA codes (10050) are au_lga_code.

- Parent datatype: [`id`](https://registry.apicrafter.io/datatype/id.md)
- Personal data (PII): no
- Categories: Geographic identifiers (geo), Government related (government)
- Countries: Nigeria (NG)
- Languages: Common to most languages (common)
- Classification: identifier

## Detection

Regular expression (Python `re`):

```
^(?:0[1-9]|[12]\d|3[0-7])\d{3}$
```

## Examples

- `19001` — Birnin Gwari, Kaduna State
- `19003` — Giwa, Kaduna State
- `38001` (invalid example) — there are 37 states with the FCT

## Metacrafter rules

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

- `nglgacodebyname` (field, `ng/ng_geo.yaml`)

## Supported by tools

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

## Sources

- doc: <https://grid3.org/>
- doc: <https://energydata.info/dataset/nigeria-kaduna-electricity-distribution-company-service-area-settlements-dataset-2016>

## Quality

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

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