Datatypes › France › Geographic identifiers › fr_department
French department code (INSEE)
Code département
ID fr_department_code
Pattern of fr_departmentNot PIIcategoricalDraft
This record is a draft: it has not been reviewed yet and may be incomplete or wrong. Do not rely on it for compliance decisions. Help improve it (see CONTRIBUTING.md).
Code of a French department in the INSEE Official Geographic Code (COG). Departments in metropolitan France use two characters from 01 to 95, with 2A (Corse-du-Sud) and 2B (Haute-Corse) in place of 20. Overseas departments use three digits, 971 to 974 and 976.
- Pattern of
- French department (département)
fr_department - Categories
- Geographic identifiers, Government related
- Countries
- France
- Languages
- French
- Wikidata
- P2586
- Quality
- 100/100
- Metacrafter rules
- 1 rule (1 by field name, 0 by value)
frdepartmentcodebynamefield, fr/fr_geo.yaml
- Supported by tools
- csv-detective, metacrafter
Regular expression
^(?:0[1-9]|1\d|2[1-9AB]|[3-8]\d|9[0-5]|97[1-46])$
Python re syntax.
Test a value
Examples
| Value | Description |
|---|---|
| 01 | Ain |
| 2A | Corse-du-Sud |
| 75 | Paris |
| 974 | La Réunion |
| 20 invalid | replaced by 2A and 2B |
| 975 invalid | Saint-Pierre-et-Miquelon is not a department |
Translations
| Language | Name | Description |
|---|---|---|
| French | Code département |
Sources
- wikidata: wikidata.org/wiki/Property:P2586
- doc: insee.fr/fr/information/2560452
- wikipedia: Departments of France (en.wikipedia.org)
Use this record
- Page URL:
https://registry.apicrafter.io/datatype/fr_department_code - JSON: API v1 · legacy shape (used by metacrafter) · Markdown (for LLMs)
- Improve it: edit
data/datatypes/FR/geo/fr_department_code.yamlon GitHub