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

# FIPS 5-2 numeric code (US states) (`fips52`)

Two-digit identifier for US states and other associated areas per former Federal Information Processing Standard FIPS 5-2 standard

- Personal data (PII): no
- Categories: Geographic identifiers (geo)
- Countries: United States (US)
- Languages: English (en)
- Classification: categorical

## Detection

Regular expression (Python `re`):

```
\d{2}
```

## Examples

- `76` — Navassa Island
- `70` — Palau

## Mappings

- fta: `STATE_PROVINCE.STATE_FIPS_US`
- wikidata: `P5087`

## Metacrafter rules

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

- `usfips52known` (field, `us/us_geo.yaml`)

## Supported by tools

- `fta`
- `metacrafter`
- `metacrafterpro`

## Sources

- wikidata: <https://www.wikidata.org/wiki/Property:P5087>

## Quality

Score 80/100. Missing: anchored regexp, negative example, translation.

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