Data Cart

Your data extract

0 variables
0 samples
View Cart
MIG1_P_CM
Province of previous residence, Cameroon; 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 Mig1_p_cm : public Editor {

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

    long a = getRecoded();
    switch (dataSet) {
    case dataset_id::cm1976a: {
      if (CM1976A_0412() == 99999)
        a = GEO1_CM(0);
    } break;
    case dataset_id::cm1987a: {
      if (CM1987A_0408() == 0)
        a = GEO1_CM(0);
    } break;
    }

    setData(a);
  }
};