---
id: "us_congressional_district"
kind: "datatype"
status: "draft"
is_pii: false
name: "US congressional district code"
regexp: "^(?:A[KLRSZ]|C[AOT]|D[CE]|FL|G[AU]|HI|I[ADLN]|K[SY]|LA|M[ADEINOPST]|N[CDEHJMVY]|O[HKR]|P[AR]|RI|S[CD]|T[NX]|UT|V[AIT]|W[AIVY])-?(?:0?\\d|[1-4]\\d|5[0-3]|AL)$"
categories: ["government", "geo"]
country: ["US"]
langs: ["en"]
quality: 90
url: "https://registry.apicrafter.io/datatype/us_congressional_district"
---

# US congressional district code (`us_congressional_district`)

> **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.

Code of a district of the US House of Representatives: the two-letter postal abbreviation of the state and the two-digit district number, with or without a hyphen, such as NY10 or CA-12. States with one representative are written AL (at large), 00 or 01.

- Personal data (PII): no
- Categories: Government related (government), Geographic identifiers (geo)
- Countries: United States (US)
- Languages: English (en)
- Classification: identifier

## Detection

Regular expression (Python `re`):

```
^(?:A[KLRSZ]|C[AOT]|D[CE]|FL|G[AU]|HI|I[ADLN]|K[SY]|LA|M[ADEINOPST]|N[CDEHJMVY]|O[HKR]|P[AR]|RI|S[CD]|T[NX]|UT|V[AIT]|W[AIVY])-?(?:0?\d|[1-4]\d|5[0-3]|AL)$
```

## Examples

- `NY10` — 10th district of New York
- `CA-12` — With a hyphen
- `WY-AL` — At-large district
- `XX10` (invalid example) — XX is not a state
- `NY99` (invalid example) — No state has 99 districts

## Metacrafter rules

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

- `uscongressionaldistrictbyname` (field, `us/us_politics.yaml`)

## Supported by tools

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

## Translations

- ru: Код избирательного округа Конгресса США

## Sources

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

## Quality

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

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