Data Cart

Your data extract

0 variables
0 samples
View Cart
EDUCLS
Educational attainment, Lesotho

Codes and Frequencies



An 'X' indicates the category is available for that sample

00NIU (not in universe)XX
10None, preschool, or non-formal education··
11NoneXX
12Preschool·X
13Non-formal education·X
Primary
21Standard 1XX
22Standard 2XX
23Standard 3XX
24Standard 4XX
25Standard 5XX
26Standard 6XX
27Standard 7XX
31Diploma or certificate after primaryXX
32Vocational training after primaryXX
Lower secondary
41Form 1 (form A)XX
42Form 2 (form B)XX
43Form 3 (form C)XX
44Diploma or certificate after lower secondaryXX
45Vocational training after lower secondaryXX
Upper secondary
51Form 4 (form D)XX
52Form 5 (form E)XX
Post-secondary
60Post-secondary, non-universityXX
61Undergraduate or graduate studiesX·
62Undergraduate studies·X
63Graduate studies·X
90OtherXX

Explore how IPUMS created this variable

Download


      class Educls : public Editor {

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

    long a = getRecoded();
    switch (dataSet) {
    case dataset_id::ls1996a: {
      if (LS1996A_0415() == 1 && LS1996A_0406() >= 5)
        a = 11;
    } break;
    }

    setData(a);
  }
};