Data Cart

Your data extract

0 variables
0 samples
View Cart
MIG1ALT_1_MA
Region of residence 1 years ago, Morocco; consistent boundaries, GIS

Codes and Frequencies



Loading Frequency Data...

Can't find the category you are looking for? Try the Detailed codes

Explore how IPUMS created this variable

Download


      class Mig1alt_1_ma : public Editor {

public:
  Mig1alt_1_ma(VarPointer varInfo) : Editor(varInfo) {}
  void edit() {

    long a = getRecoded();
    switch (dataSet) {
    case dataset_id::ma1994a: {
      if ((MA1994A_0438() == 0 || MA1994A_0438() == 996) &&
          (MA1994A_0407() >= 1 && MA1994A_0407() <= 98))
        a = GEO1ALT_MA(0);
      if (MA1994A_0407() < 1)
        a = 504999;
    } break;
    }

    setData(a);
  }
};