Hello,
I have a survey with 2 variables related to race/ethnicity I need to re-code.

The first (labeled crl5cgrace) asks: "What race do you consider yourself to be? Code all that apply" with response options:
1) White, 2) Black/African American, 3) American Indian/Alaska Native, 4) Asian, and 5) Native Hawaiian/Pacific Islander.
The second question (labeled crl5hisplatno) asks: "Do you consider yourself Hispanic or Latino?" with response options:
1) Yes, 2) No.

I have learned that best practice (at least in my area) is those who identify as White AND non-Hispanic go into one category, those who identify as Black are coded as Black (regardless of a yes or no on Hispanic), and those who are Hispanic AND not Black/African American are coded as Hispanic. Often Asian, Native American, Pacific Islander, etc., are grouped into one “other category.”

I am wondering how I can recode these 2 variables based on the best practice described above? Is this possible since these are 2 separate variables? For example, I am not sure how I would know that the same respondent identifies as both White and non-Hispanic.

Thank you so much!