The Demographic Service had been created in 1940 in order to replace the military recruitment office prohibited by the June 1940 Armistice with Nazi Germany. On October 11, 1941, the Demographic Service absorbed the former General Statistics of France (SGF, created in 1833). The new organization was called the SNS or National Statistics Service (Service national des Statistiques).
Each French person receives at birth a national identification number, called "Social Security number", which comes from his registration to the NIR (National Repertory). This INSEE number is composed of 13 digits + a two-digit key. Although the total number is of 15 digits, the rationale behind it makes it easy for individuals to remember at least the first seven digits of it (they just have to know their sex, year and month of birth, and department of birth). Since this number is used in many administrative procedures (whether by the state or by private enterprises), most people know by memory part of this identification number.
Their format is as follows: syymmlloookkk mm, where
The "sex" codes (s: 1 for male, 2 for female) can be given in special occasions for temporary registrations, such as for someone who a person who works as a wage-earner but is not registered for miscellaneous reasons. Under Vichy France, but only in Algeria (not in metropolitan France) this s code was also used to register Jews, Algerian Muslims, foreigners, or ill-defined people. Thus, 3 or 4 was given to non-Jews indigenous people of Algeria (improperly called "Muslims") and of all colonies; 5 or 6 for indigenous Jews; 7 or 8 for foreigners; 9 or 0 for miscellaneous and ill-defined status (people entering into none of these class).
They are also specific codes for people whose date or place of birth is unknown, although this is today more and more rare (for example, birth code is superior to 20 if month of birth is unknown, and communal code is 990 if the commune of origin is unknown). For overseas departments, the department number has got three digits, and the communal number two digits (since 1950). People born abroad have a departmental code of 99, and the communal code is replaced by the code of the country of birth which has got three digits. Before 1964, departmental codes from 91 to 96 were used for Algeria, Tunisia and Morocco.
If in a specified month the number of total births is superior to 999, an extension common code is created.
The last code is obtained by a mathematical method (dividing by 97 the number formed by the first 13 digits, take the left-over of this division, and then the "complement at 97", that is the difference between 97 and the left-over of the division): this gives the control key code.
The NIR (National Identification Repertory) was created by René Carmille (who died at the Dachau concentration camp in 1944) who realized between April and August 1941, under the Vichy regime, the first general repertory to secretly prepare the mobilization of a French army. This codification was then taken back by general Marie in Algeria, in order to recense Jews, Muslims and others categories. The aim was to file the whole of the French population and to discriminate them according ethnical or statutory criteria, in the frame of the racial policies of Vichy. Thus, the first digit which today is used to distinguish males and females then had other purposes: 3 or 4 for Algerian non-Jews indigenous people, 5 or 6 for indigenous Jews, 7 or 8 for foreigners, and 9 or 0 for miscellaneous and ill-defined statutes.
This discriminatory categorization used in Algeria was abolished in 1944, and has never been used in metropolitan France where, during the whole of the war, only "1" and "2" (for male and female) was used. The gestion of the NIR was given in 1946 to the new Statistical Institute, the INSEE. This institution is also in charged of the RNIPP (répertoire national d'identification des personnes physiques, National Repertory of Identification of Physical Persons), which contains for each individual: the NIR, last name, first name, sex, date and place of birth, reference of the Act of Birth (Acte de naissance).
INSEE also gives numerical indexing codes (French: les Codes INSEE) to various administrative entities in France:
The departmental code is also fairly famous, as it is in use for the last two digits of the vehicle registration plates (75 is Paris, 13 Marseilles, 31 Toulouse, etc. &mdash). However, this license plate numbering system will end on the last day of 2008, replaced by sequential numbering.