---
id: "eu_erasmus_code"
kind: "datatype"
status: "draft"
is_pii: false
name: "Erasmus institution code"
regexp: "^(?:IRL|LUX|[A-Z]{2} ?|[A-Z] {0,2})[A-Z][A-Z-]*[A-Z]\\d{2,3}$"
categories: ["education"]
country: ["EU"]
langs: ["common"]
quality: 90
url: "https://registry.apicrafter.io/datatype/eu_erasmus_code"
---

# Erasmus institution code (`eu_erasmus_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.

Code of a higher education institution that holds the Erasmus Charter for Higher Education. It has three parts, a country part of three characters (one letter and two spaces, two letters and one space, or the three letters IRL or LUX), an abbreviation of the city in capital letters and hyphens, and a number of two or three digits, as in E MADRID03 for the Universidad Complutense de Madrid and PL WARSZAW02 for the Warsaw University of Technology. The city part tells where the code was issued. Tables and web pages often keep one space or none after the country letters (I MILANO03), and the regexp takes these spellings too. Mobility tables of universities give it for the home or host institution of a student.

- Parent datatype: [`id`](https://registry.apicrafter.io/datatype/id.md)
- Personal data (PII): no
- Categories: Education (education)
- Countries: European Union (EU)
- Languages: Common to most languages (common)
- Classification: identifier

## Detection

Regular expression (Python `re`):

```
^(?:IRL|LUX|[A-Z]{2} ?|[A-Z] {0,2})[A-Z][A-Z-]*[A-Z]\d{2,3}$
```

## Examples

- `E  MADRID03` — Universidad Complutense de Madrid
- `PL WARSZAW02` — Politechnika Warszawska
- `F  STRASBO48` — Université de Strasbourg
- `I MILANO03` — Università Cattolica del Sacro Cuore, written with one space
- `03MADRID` (invalid example) — the number first

## Metacrafter rules

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

- `erasmuscodebyname` (field, `common/sdmx.yaml`)
- `erasmuscodevalue` (data, `common/sdmx.yaml`)

## Supported by tools

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

## Translations

- es: Código Erasmus de institución
- ru: Код учреждения в программе Erasmus

## Sources

- doc: <https://eche-list.erasmuswithoutpaper.eu/docs/01_ECHE_DATA/02_ERASMUS.md>
- doc: <https://wikis.ec.europa.eu/display/NAITDOC/ECHE+-+Erasmus+Charter+for+Higher+Education>

## Quality

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

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