---
id: "polity_score"
kind: "datatype"
status: "draft"
is_pii: false
name: "Polity score"
regexp: "^(?:-?(?:10|\\d)|-66|-77|-88)$"
categories: ["government", "values"]
langs: ["common"]
quality: 90
url: "https://registry.apicrafter.io/datatype/polity_score"
---

# Polity score (`polity_score`)

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

Regime score of the Polity project (Polity IV and 5): an integer from -10 (hereditary monarchy) to 10 (consolidated democracy), the democracy score minus the autocracy score. The polity variable also holds the special codes -66 (foreign interruption), -77 (interregnum) and -88 (transition); polity2 replaces them.

- Personal data (PII): no
- Categories: Government related (government), All measurable values (percentage, amount and e.t.c) (values)
- Countries: global
- Languages: Common to most languages (common)
- Classification: categorical

## Detection

Regular expression (Python `re`):

```
^(?:-?(?:10|\d)|-66|-77|-88)$
```

## Examples

- `10` — Full democracy
- `-7` — Autocracy
- `-88` — Transition period
- `11` (invalid example) — The scale ends at 10

## Metacrafter rules

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

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

## Supported by tools

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

## Translations

- ru: Оценка политического режима Polity

## Sources

- wikipedia: <https://en.wikipedia.org/wiki/Polity_data_series>
- doc: <https://www.systemicpeace.org/polityproject.html>

## Quality

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

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