Codes and Frequencies
Explore how IPUMS created this variable
class Mig2_10_es : public Editor {
public:
Mig2_10_es(VarPointer varInfo) : Editor(varInfo) {}
void edit() {
long a = getRecoded();
switch (dataSet) {
case dataset_id::es1981a: {
if (ES1981A_0410() == 0 && ES1981A_0408() <= 1971 &&
ES1981A_0016(0) != 99)
a = GEO2_ES(0);
if (ES1981A_0410() == 0 && ES1981A_0408() <= 1971 &&
ES1981A_0016(0) == 99)
a = 727098098;
} break;
case dataset_id::es1991a: {
if (ES1991A_0426() == 99 && ES1991A_0410() <= 1981)
a = GEO2_ES(0);
} break;
}
setData(a);
}
};
Description
MIG2_10_ES indicates the person's province of residence ten years ago within Spain. Migration district codes from MIG2_10_ES are compatible with codes from GEO2_ES.
Click on the Source Variables tab for information on place of residence for each sample year. Source variables may contain more geographic unit detail but are not suitable for cross-temporal comparison.
Comparability — General
The variable is comparable across samples, and no boundary changes occurred over time. However, the name for Oviedo province, changed to Asturias in 1983 and the name for Santander province changed to Cantabria in 1982. MIG2_10_ES listing residence 10 years ago enumerates these place names in the 1981 sample.
See MIG2_P_ES, MIG2_1_ES, and MIG2_5_ES for province of previous residence at other time intervals in the past.
The data for 1981 are technically place of residence 10 years and 4 months ago (December 31, 1970).
Universe
- Spain 1981: Persons age 10+
- Spain 1991: Persons age 10+
- Spain 2001: Persons age 10+ and residing in the household at time of census
- Spain 2011: Persons age 10+ who resided in Spain 10 years ago
Availability
- Spain: 1981, 1991, 2001, 2011