Data Cart

Your data extract

0 variables
0 samples
View Cart
GEO1_UK
United Kingdom, Region 1961 - 2001 [Level 1; consistent boundaries, GIS]

Codes and Frequencies



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

826101North EastXXXX
826102North WestXXXX
826103Yorkshire and the HumberXXXX
826104East MidlandsXXXX
826105West MidlandsXXXX
826106East of EnglandXXXX
826107South EastXXXX
826108South WestXXXX
826110Outer London, Inner LondonXXXX
826111ScotlandXXXX
826112WalesXXXX
826113Northern Ireland···X

Explore how IPUMS created this variable

Download


      class Geo1_uk : public Editor {
public:
  Geo1_uk(VarPointer varInfo) : Editor(varInfo) {}

  void edit() {
    auto result = getRecoded();

    if (dataSet == dataset_id::uk2001a) {

      result = MISSING;

      if (countPeople() > 0) {
        RecordPointer person_rec = people().front();
        auto source_data = getSourceData(person_rec);
        result = applyTransTable(source_data);
      }
    }
    setData(result);
  }
};