---
id: "us_party_identification"
kind: "datatype"
status: "draft"
is_pii: false
name: "US party identification of a survey respondent"
regexp: "^(?i:[1-8]|Strong Democrat|Not very strong Democrat|Weak Democrat|Lean Democrat|Democrat|Independent|Lean Republican|Not very strong Republican|Weak Republican|Strong Republican|Republican|Other|Not sure)$"
categories: ["government", "common"]
country: ["US"]
langs: ["en"]
quality: 90
url: "https://registry.apicrafter.io/datatype/us_party_identification"
---

# US party identification of a survey respondent (`us_party_identification`)

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

Answer to the party identification question of US election surveys (ANES, CES/CCES, the pid3 and pid7 variables). The 3-point form is Democrat, Republican, Independent, with Other and Not sure; the 7-point form runs from Strong Democrat (1) through Independent (4) to Strong Republican (7), with 8 for Not sure. Files hold the numeric codes or the labels.

- Personal data (PII): no
- Categories: Government related (government), Common (common)
- Countries: United States (US)
- Languages: English (en)
- Classification: categorical

## Detection

Regular expression (Python `re`):

```
^(?i:[1-8]|Strong Democrat|Not very strong Democrat|Weak Democrat|Lean Democrat|Democrat|Independent|Lean Republican|Not very strong Republican|Weak Republican|Strong Republican|Republican|Other|Not sure)$
```

## Examples

- `Strong Democrat` — pid7 label
- `Independent` — pid3 and pid7 label
- `7` — pid7 code of Strong Republican
- `Labour` (invalid example) — Not a US party identification answer

## Metacrafter rules

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

- `uspartyidentificationbyname` (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/Party_identification>

## Quality

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

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