Codes and Frequencies
          
            
        
Explore how IPUMS created this variable
      class Ancest : public Editor {
public:
  Ancest(VarPointer varInfo) : Editor(varInfo) {}
  void edit() {
    long a = getRecoded();
    switch (dataSet) {
    case dataset_id::us1980a:
      a = (US1980A_0433() - US1980A_0433() % 10) / 10;
      break;
    case dataset_id::us1990a:
      a = (US1990A_0431() - US1990A_0431() % 10) / 10;
      break;
    case dataset_id::us2000a:
      a = (US2000A_0429() - US2000A_0429() % 10) / 10;
      break;
    case dataset_id::us2005a:
      a = (US2005A_0423() - US2005A_0423() % 10) / 10;
      break;
    }
    setData(a);
  }
};
    Description
ANCEST identifies the person's self-reported ancestry or ethnic origin in the United States and Puerto Rico.
Universe
- All persons
Availability
- Puerto Rico: 2000, 2005, 2010, 2015, 2020
- United States: 1980, 1990, 2000, 2005, 2010, 2015, 2020
