Data Cart

Your data extract

0 variables
0 samples
View Cart
EDUCPE
Educational attainment, Peru

Codes and Frequencies



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

000NIU (not in universe)XXX
100NoneXXX
110PreschoolXXX
120Basic special school···
121Year 1··X
122Year 2··X
123Year 3··X
124Year 4··X
200Primary education···
201Grade 1XXX
202Grade 2XXX
203Grade 3XXX
204Grade 4XXX
205Grade 5XXX
206Grade 6XXX
207Grade unknown·X·
300Secondary education···
301Grade 1XXX
302Grade 2XXX
303Grade 3XXX
304Grade 4XXX
305Grade 5XXX
306Grade 6XXX
400Regular basic (1972-1982)···
401Grade 1X··
402Grade 2X··
403Grade 3X··
404Grade 4X··
405Grade 5X··
406Grade 6X··
407Grade 7X··
408Grade 8X··
409Grade 9X··
500Trade school (1972-1982)···
501Grade 1X··
502Grade 2X··
503Grade 3X··
504Grade 4X··
505Grade 5X··
506Grade 6X··
507Grade 7X··
508Grade 8 or 9X··
600Tertiary education···
610Non-university···
611IncompleteXXX
612CompleteXXX
620University···
621IncompleteXXX
622CompleteXXX
630Master's or doctorate degree··X
999UnknownX··

Explore how IPUMS created this variable

Download


      class Educpe : public Editor {

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

    long a = getRecoded();
    switch (dataSet) {
    case dataset_id::pe1993a: {
      if (PE1993A_0427() == 999 && PE1993A_0443() >= 5)
        a = 100;
    } break;
    }

    setData(a);
  }
};