/* This Proc Format program was automatically generated by Stat/Transfer ver.17.1.1834.0120 */

/* ENCODING CP1252 */


libname library '[INSERT LOCATION HERE]';

proc format library = library ;
   value SURV_MOD
      1 = '(1) Phone interview'  
      2 = '(2) Web interview' ;
   value SURV_LAN
      1 = '(1) English'  
      2 = '(2) Spanish' ;
   value CUR3AB
      1 = '(1) Strongly approve'  
      2 = '(2) Somewhat approve'  
      3 = '(3) Lean toward approving'  
      4 = '(4) Do not lean either way'  
      5 = '(5) Lean toward disapproving'  
      6 = '(6) Somewhat disapprove'  
      7 = '(7) Strongly disapprove'  
      99 = '(99) DON''T KNOW/SKIPPED ON WEB/REFUSED (VOL)' ;
   value CURY2A
      1 = '(1) Approve'  
      2 = '(2) Disapprove'  
      99 = '(99) DON''T KNOW/SKIPPED ON WEB/REFUSED (VOL)' ;
   value CURY2B
      1 = '(1) Approve'  
      2 = '(2) Disapprove'  
      99 = '(99) DON''T KNOW/SKIPPED ON WEB/REFUSED (VOL)' ;
   value CURY2C
      1 = '(1) Approve'  
      2 = '(2) Disapprove'  
      99 = '(99) DON''T KNOW/SKIPPED ON WEB/REFUSED (VOL)' ;
   value CURY2D
      1 = '(1) Approve'  
      2 = '(2) Disapprove'  
      99 = '(99) DON''T KNOW/SKIPPED ON WEB/REFUSED (VOL)' ;
   value B1AB
      1 = '(1) Very good'  
      2 = '(2) Somewhat good'  
      3 = '(3) Lean toward good'  
      4 = '(4) Neither good nor poor'  
      5 = '(5) Lean toward poor'  
      6 = '(6) Somewhat poor'  
      7 = '(7) Very poor'  
      99 = '(99) DON''T KNOW/SKIPPED ON WEB/REFUSED (VOL)' ;
   value CRIMEA
      1 = '(1) Major problem'  
      2 = '(2) Minor problem'  
      3 = '(3) Not a problem'  
      99 = '(99) DON''T KNOW/SKIPPED ON WEB/REFUSED (VOL)' ;
   value CRIMEB
      1 = '(1) Major problem'  
      2 = '(2) Minor problem'  
      3 = '(3) Not a problem'  
      99 = '(99) DON''T KNOW/SKIPPED ON WEB/REFUSED (VOL)' ;
   value CRIMEC
      1 = '(1) Major problem'  
      2 = '(2) Minor problem'  
      3 = '(3) Not a problem'  
      99 = '(99) DON''T KNOW/SKIPPED ON WEB/REFUSED (VOL)' ;
   value CRIMED
      1 = '(1) Major problem'  
      2 = '(2) Minor problem'  
      3 = '(3) Not a problem'  
      99 = '(99) DON''T KNOW/SKIPPED ON WEB/REFUSED (VOL)' ;
   value FEDA
      1 = '(1) Completely acceptable'  
      2 = '(2) Somewhat acceptable'  
      3 = '(3) Somewhat unacceptable'  
      4 = '(4) Completely unacceptable'  
      77 = '(77) Don_t know enough'  
      99 = '(99) DON''T KNOW/SKIPPED ON WEB/REFUSED (VOL)' ;
   value FEDB
      1 = '(1) Completely acceptable'  
      2 = '(2) Somewhat acceptable'  
      3 = '(3) Somewhat unacceptable'  
      4 = '(4) Completely unacceptable'  
      77 = '(77) Don_t know enough'  
      99 = '(99) DON''T KNOW/SKIPPED ON WEB/REFUSED (VOL)' ;
   value FAN
      1 = '(1) Extremely closely'  
      2 = '(2) Very closely'  
      3 = '(3) Somewhat closely'  
      4 = '(4) Not very closely'  
      5 = '(5) Not closely at all'  
      99 = '(99) DON''T KNOW/SKIPPED ON WEB/REFUSED (VOL)' ;
   value TV1A
      1 = '(1) Yes'  
      2 = '(2) No'  
      99 = '(99) DON''T KNOW/SKIPPED ON WEB/REFUSED (VOL)' ;
   value TV1B
      1 = '(1) Yes'  
      2 = '(2) No'  
      99 = '(99) DON''T KNOW/SKIPPED ON WEB/REFUSED (VOL)' ;
   value TV1C
      1 = '(1) Yes'  
      2 = '(2) No'  
      99 = '(99) DON''T KNOW/SKIPPED ON WEB/REFUSED (VOL)' ;
   value TV1D
      1 = '(1) Yes'  
      2 = '(2) No'  
      99 = '(99) DON''T KNOW/SKIPPED ON WEB/REFUSED (VOL)' ;
   value TV2A
      1 = '(1) Very satisfied'  
      2 = '(2) Somewhat satisfied'  
      3 = '(3) Neither satisfied nor dissatisfied'  
      4 = '(4) Somewhat dissatisfied'  
      5 = '(5) Very dissatisfied'  
      99 = '(99) DON''T KNOW/SKIPPED ON WEB/REFUSED (VOL)' ;
   value TV2B
      1 = '(1) Very satisfied'  
      2 = '(2) Somewhat satisfied'  
      3 = '(3) Neither satisfied nor dissatisfied'  
      4 = '(4) Somewhat dissatisfied'  
      5 = '(5) Very dissatisfied'  
      99 = '(99) DON''T KNOW/SKIPPED ON WEB/REFUSED (VOL)' ;
   value TV2C
      1 = '(1) Very satisfied'  
      2 = '(2) Somewhat satisfied'  
      3 = '(3) Neither satisfied nor dissatisfied'  
      4 = '(4) Somewhat dissatisfied'  
      5 = '(5) Very dissatisfied'  
      99 = '(99) DON''T KNOW/SKIPPED ON WEB/REFUSED (VOL)' ;
   value TV2D
      1 = '(1) Very satisfied'  
      2 = '(2) Somewhat satisfied'  
      3 = '(3) Neither satisfied nor dissatisfied'  
      4 = '(4) Somewhat dissatisfied'  
      5 = '(5) Very dissatisfied'  
      99 = '(99) DON''T KNOW/SKIPPED ON WEB/REFUSED (VOL)' ;
   value TV3A
      1 = '(1) Every day'  
      2 = '(2) At least several times a week'  
      3 = '(3) At least once a week'  
      4 = '(4) At least once a month'  
      5 = '(5) Several times a year'  
      6 = '(6) Less often'  
      7 = '(7) Not at all'  
      99 = '(99) DON''T KNOW/SKIPPED ON WEB/REFUSED (VOL)' ;
   value TV3B
      1 = '(1) Every day'  
      2 = '(2) At least several times a week'  
      3 = '(3) At least once a week'  
      4 = '(4) At least once a month'  
      5 = '(5) Several times a year'  
      6 = '(6) Less often'  
      7 = '(7) Not at all'  
      99 = '(99) DON''T KNOW/SKIPPED ON WEB/REFUSED (VOL)' ;
   value TV3C
      1 = '(1) Every day'  
      2 = '(2) At least several times a week'  
      3 = '(3) At least once a week'  
      4 = '(4) At least once a month'  
      5 = '(5) Several times a year'  
      6 = '(6) Less often'  
      7 = '(7) Not at all'  
      99 = '(99) DON''T KNOW/SKIPPED ON WEB/REFUSED (VOL)' ;
   value TV3D
      1 = '(1) Every day'  
      2 = '(2) At least several times a week'  
      3 = '(3) At least once a week'  
      4 = '(4) At least once a month'  
      5 = '(5) Several times a year'  
      6 = '(6) Less often'  
      7 = '(7) Not at all'  
      99 = '(99) DON''T KNOW/SKIPPED ON WEB/REFUSED (VOL)' ;
   value TV3E
      1 = '(1) Every day'  
      2 = '(2) At least several times a week'  
      3 = '(3) At least once a week'  
      4 = '(4) At least once a month'  
      5 = '(5) Several times a year'  
      6 = '(6) Less often'  
      7 = '(7) Not at all'  
      99 = '(99) DON''T KNOW/SKIPPED ON WEB/REFUSED (VOL)' ;
   value TV3F
      1 = '(1) Every day'  
      2 = '(2) At least several times a week'  
      3 = '(3) At least once a week'  
      4 = '(4) At least once a month'  
      5 = '(5) Several times a year'  
      6 = '(6) Less often'  
      7 = '(7) Not at all'  
      99 = '(99) DON''T KNOW/SKIPPED ON WEB/REFUSED (VOL)' ;
   value TV3G
      1 = '(1) Every day'  
      2 = '(2) At least several times a week'  
      3 = '(3) At least once a week'  
      4 = '(4) At least once a month'  
      5 = '(5) Several times a year'  
      6 = '(6) Less often'  
      7 = '(7) Not at all'  
      99 = '(99) DON''T KNOW/SKIPPED ON WEB/REFUSED (VOL)' ;
   value TV3H
      1 = '(1) Every day'  
      2 = '(2) At least several times a week'  
      3 = '(3) At least once a week'  
      4 = '(4) At least once a month'  
      5 = '(5) Several times a year'  
      6 = '(6) Less often'  
      7 = '(7) Not at all'  
      99 = '(99) DON''T KNOW/SKIPPED ON WEB/REFUSED (VOL)' ;
   value TV4A
      1 = '(1) Yes'  
      2 = '(2) No'  
      99 = '(99) DON''T KNOW/SKIPPED ON WEB/REFUSED (VOL)' ;
   value TV4B
      1 = '(1) Yes'  
      2 = '(2) No'  
      99 = '(99) DON''T KNOW/SKIPPED ON WEB/REFUSED (VOL)' ;
   value TV4C
      1 = '(1) Yes'  
      2 = '(2) No'  
      99 = '(99) DON''T KNOW/SKIPPED ON WEB/REFUSED (VOL)' ;
   value TV4D
      1 = '(1) Yes'  
      2 = '(2) No'  
      99 = '(99) DON''T KNOW/SKIPPED ON WEB/REFUSED (VOL)' ;
   value TV5F
      1 = '(1) Always'  
      2 = '(2) Often'  
      3 = '(3) Sometimes'  
      4 = '(4) Rarely'  
      5 = '(5) Never'  
      99 = '(99) DON''T KNOW/SKIPPED ON WEB/REFUSED (VOL)' ;
   value TV6_1F
      0 = '(0) No'  
      1 = '(1) Yes'  
      99 = '(99) DON''T KNOW/SKIPPED ON WEB/REFUSED (VOL)' ;
   value TV6_2F
      0 = '(0) No'  
      1 = '(1) Yes'  
      99 = '(99) DON''T KNOW/SKIPPED ON WEB/REFUSED (VOL)' ;
   value TV6_3F
      0 = '(0) No'  
      1 = '(1) Yes'  
      99 = '(99) DON''T KNOW/SKIPPED ON WEB/REFUSED (VOL)' ;
   value TV6_4F
      0 = '(0) No'  
      1 = '(1) Yes'  
      99 = '(99) DON''T KNOW/SKIPPED ON WEB/REFUSED (VOL)' ;
   value TV6_5F
      0 = '(0) No'  
      1 = '(1) Yes'  
      99 = '(99) DON''T KNOW/SKIPPED ON WEB/REFUSED (VOL)' ;
   value TV6_6F
      0 = '(0) No'  
      1 = '(1) Yes'  
      99 = '(99) DON''T KNOW/SKIPPED ON WEB/REFUSED (VOL)' ;
   value TV6_7F
      0 = '(0) No'  
      1 = '(1) Yes'  
      99 = '(99) DON''T KNOW/SKIPPED ON WEB/REFUSED (VOL)' ;
   value TV6_8F
      0 = '(0) No'  
      1 = '(1) Yes'  
      99 = '(99) DON''T KNOW/SKIPPED ON WEB/REFUSED (VOL)' ;
   value TV6_9F
      0 = '(0) No'  
      1 = '(1) Yes'  
      99 = '(99) DON''T KNOW/SKIPPED ON WEB/REFUSED (VOL)' ;
   value TV6_10F
      0 = '(0) No'  
      1 = '(1) Yes'  
      99 = '(99) DON''T KNOW/SKIPPED ON WEB/REFUSED (VOL)' ;
   value POLITICS
      1 = '(1) Democrat'  
      2 = '(2) Republican'  
      3 = '(3) Independent'  
      4 = '(4) None of these'  
      99 = '(99) DON''T KNOW/SKIPPED ON WEB/REFUSED (VOL)' ;
   value DEMO
      1 = '(1) Strong Democrat'  
      2 = '(2) Not so strong Democrat'  
      99 = '(99) DON''T KNOW/SKIPPED ON WEB/REFUSED (VOL)' ;
   value REPUB
      1 = '(1) Strong Republican'  
      2 = '(2) Not so strong Republican'  
      99 = '(99) DON''T KNOW/SKIPPED ON WEB/REFUSED (VOL)' ;
   value INDEP
      1 = '(1) Lean Democrat'  
      2 = '(2) Lean Republican'  
      3 = '(3) Don''t lean'  
      99 = '(99) DON''T KNOW/SKIPPED ON WEB/REFUSED (VOL)' ;
   value IDEO
      -1 = '(-1) Unknown'  
      1 = '(1) Very liberal'  
      2 = '(2) Somewhat liberal'  
      3 = '(3) Moderate'  
      4 = '(4) Somewhat conservative'  
      5 = '(5) Very conservative'  
      99 = '(99) DON''T KNOW/SKIPPED ON WEB/REFUSED (VOL)' ;
   value URBAN
      1 = '(1) Urban'  
      2 = '(2) Suburban'  
      3 = '(3) Rural'  
      99 = '(99) DON''T KNOW/SKIPPED ON WEB/REFUSED (VOL)' ;
   value RELIG
      1 = '(1) Protestant (Baptist, Methodist, Non-denominational, Luth'  
      2 = '(2) Roman Catholic (Catholic)'  
      3 = '(3) Mormon (Church of Jesus Christ of Latter-day Saints/LDS)'  
      4 = '(4) Orthodox (Greek, Russian, or some other orthodox church)'  
      5 = '(5) Jewish (Judaism)'  
      6 = '(6) Muslim (Islam)'  
      7 = '(7) Buddhist'  
      8 = '(8) Atheist (do not believe in God)'  
      9 = '(9) Agnostic (not sure if there is a God)'  
      10 = '(10) Nothing in particular'  
      11 = '(11) Just Christian'  
      12 = '(12) Unitarian (Universalist)'  
      13 = '(13) Something else'  
      99 = '(99) DON''T KNOW/SKIPPED ON WEB/REFUSED (VOL)' ;
   value BORN
      1 = '(1) Yes'  
      2 = '(2) No'  
      99 = '(99) DON''T KNOW/SKIPPED ON WEB/REFUSED (VOL)' ;
   value AGEGRP
      1 = '(1) 18 to 29'  
      2 = '(2) 30 to 39'  
      3 = '(3) 40 to 59'  
      4 = '(4) 60 to 64'  
      5 = '(5) 65 or older'  
      99 = '(99) DON''T KNOW/SKIPPED ON WEB/REFUSED (VOL)' ;
   value MARITAL
      1 = '(1) Married'  
      2 = '(2) Widowed'  
      3 = '(3) Divorced'  
      4 = '(4) Separated'  
      5 = '(5) Never married' ;
   value EDUCATIO
      1 = '(1) Less than a high school diploma'  
      2 = '(2) High school graduate or equivalent'  
      3 = '(3) Some college'  
      4 = '(4) Bachelor''s degree'  
      5 = '(5) Post grad study/professional degree' ;
   value RACETH
      1 = '(1) White, non-Hispanic'  
      2 = '(2) Black or African American, non-Hispanic'  
      3 = '(3) Hispanic'  
      4 = '(4) Other, non-Hispanic'  
      99 = '(99) DON''T KNOW/SKIPPED ON WEB/REFUSED (VOL)' ;
   value GENDER
      0 = '(0) Unknown'  
      1 = '(1) Male'  
      2 = '(2) Female' ;
   value HHINCOME
      1 = '(1) Under $10,000'  
      2 = '(2) $10,000 to under $20,000'  
      3 = '(3) $20,000 to under $30,000'  
      4 = '(4) $30,000 to under $40,000'  
      5 = '(5) $40,000 to under $50,000'  
      6 = '(6) $50,000 to under $75,000'  
      7 = '(7) $75,000 to under $100,000'  
      8 = '(8) $100,000 to under $150,000'  
      9 = '(9) $150,000 or more'  
      99 = '(99) DON''T KNOW/SKIPPED ON WEB/REFUSED (VOL)' ;
   value HOUSING
      1 = '(1) Owned or being bought by you or someone in your househol'  
      2 = '(2) Rented for cash'  
      3 = '(3) Occupied without payment of cash rent' ;
   value EMPSTATU
      1 = '(1) Working - as a paid employee'  
      2 = '(2) Working - self employed'  
      3 = '(3) Not working - on temporary layoff from job'  
      4 = '(4) Not working - looking for work'  
      5 = '(5) Not working - retired'  
      6 = '(6) Not working - disabled'  
      7 = '(7) Not working - other' ;
   value CENSUS_R
      1 = '(1) Northeast'  
      2 = '(2) Midwest'  
      3 = '(3) South'  
      4 = '(4) West' ;

proc datasets library = library ;
modify APNORC_August_2025_PUF;
   format SURV_MODE SURV_MOD.;
   format SURV_LANG SURV_LAN.;
   format    CUR3AB CUR3AB.;
   format    CURY2A CURY2A.;
   format    CURY2B CURY2B.;
   format    CURY2C CURY2C.;
   format    CURY2D CURY2D.;
   format      B1AB B1AB.;
   format    CRIMEA CRIMEA.;
   format    CRIMEB CRIMEB.;
   format    CRIMEC CRIMEC.;
   format    CRIMED CRIMED.;
   format      FEDA FEDA.;
   format      FEDB FEDB.;
   format       FAN FAN.;
   format      TV1A TV1A.;
   format      TV1B TV1B.;
   format      TV1C TV1C.;
   format      TV1D TV1D.;
   format      TV2A TV2A.;
   format      TV2B TV2B.;
   format      TV2C TV2C.;
   format      TV2D TV2D.;
   format      TV3A TV3A.;
   format      TV3B TV3B.;
   format      TV3C TV3C.;
   format      TV3D TV3D.;
   format      TV3E TV3E.;
   format      TV3F TV3F.;
   format      TV3G TV3G.;
   format      TV3H TV3H.;
   format      TV4A TV4A.;
   format      TV4B TV4B.;
   format      TV4C TV4C.;
   format      TV4D TV4D.;
   format       TV5 TV5F.;
   format     TV6_1 TV6_1F.;
   format     TV6_2 TV6_2F.;
   format     TV6_3 TV6_3F.;
   format     TV6_4 TV6_4F.;
   format     TV6_5 TV6_5F.;
   format     TV6_6 TV6_6F.;
   format     TV6_7 TV6_7F.;
   format     TV6_8 TV6_8F.;
   format     TV6_9 TV6_9F.;
   format    TV6_10 TV6_10F.;
   format  POLITICS POLITICS.;
   format      DEMO DEMO.;
   format     REPUB REPUB.;
   format     INDEP INDEP.;
   format      IDEO IDEO.;
   format     URBAN URBAN.;
   format     RELIG RELIG.;
   format      BORN BORN.;
   format    agegrp AGEGRP.;
   format   MARITAL MARITAL.;
   format EDUCATION EDUCATIO.;
   format    RACETH RACETH.;
   format    GENDER GENDER.;
   format  HHINCOME HHINCOME.;
   format   HOUSING HOUSING.;
   format empstatus EMPSTATU.;
   format CENSUS_REGION CENSUS_R.;
quit;
