Data Cart

Your data extract

0 variables
0 samples
View Cart
MIG2_1_BF
Province of residence 1 year ago, Burkina Faso; 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 Mig2_1_bf : public Editor {

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

    long a = getRecoded();
    switch (dataSet) {
    case dataset_id::bf1996a: {
      if (BF1996A_0410() > 0 && BF1996A_0410() < 98)
        a = 854997997;
      if (BF1996A_0410() == 98)
        a = 854998998;
    } break;
    case dataset_id::bf2006a: {
      if (BF2006A_0411() > 1 && BF2006A_0411() < 98)
        a = 854997997;
      if (BF2006A_0411() == 98)
        a = 854998998;
    } break;
    }
    setData(a);
  }
};