Codes and Frequencies
Explore how IPUMS created this variable
class Migit:public Editor {
public:
Migit(VarPointer varInfo) : Editor(varInfo) {}
void edit() {
long a = getRecoded();
switch (dataSet) {
case dataset_id::it2014h:
case dataset_id::it2015h:
case dataset_id::it2016h:
case dataset_id::it2017h:
case dataset_id::it2018h:
case dataset_id::it2019h: {
long provone = valueFromFirstAvailable({
IT2014H_0734_ref, IT2015H_0734_ref, IT2016H_0734_ref, IT2017H_0734_ref, IT2018H_0734_ref, IT2019H_0734_ref});
long munione = valueFromFirstAvailable({
IT2014H_0732_ref, IT2015H_0732_ref, IT2016H_0732_ref, IT2017H_0732_ref, IT2018H_0732_ref, IT2019H_0732_ref});
if (provone == 999 && munione == 4) {
a = 997;
}
}
break;
}
setData(a);
}
};
Description
MIGIT indicates the person's province or metropolitan city of residence in Italy 1 year ago.
Universe
- Persons who resided in a different municipality or abroad 1 year ago
Availability
- Italy: 2014Q1, 2015Q1, 2016Q1, 2017Q1, 2018Q1, 2019Q1