Data Cart

Your data extract

0 variables
0 samples
View Cart
MIG1_10_LS
District of residence 10 years ago, Lesothos; 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_10_ls : public Editor {

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

    long a = getRecoded();
    switch (dataSet) {
    case dataset_id::ls1996a: {
      if (LS1996A_0411() == 11 || LS1996A_0411() == 12)
        a = GEO1_LS(0);
    } break;
    case dataset_id::ls2006a: {
      if (LS2006A_0416() == 11 || LS2006A_0416() == 12)
        a = GEO1_LS(0);
    } break;
    }

    setData(a);
  }
};