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

/* ENCODING CP1252 */



libname library 'INSERT LIBNAME HERE' ;

proc format library = library ;
   value MODE
      1 = '(1) phone'  
      2 = '(2) web' ;
   value LVA
      1 = '(1) extremely interested'  
      2 = '(2) very interested'  
      3 = '(3) somewhat interested'  
      4 = '(4) only a little interested'  
      5 = '(5) not at all interested'  
      77 = '(77) dont know'  
      98 = '(98) skipped on web'  
      99 = '(99) don''t know/skipped on web/refused (vol)' ;
   value LVB
      1 = '(1) definitely will vote'  
      2 = '(2) probably will vote'  
      3 = '(3) probably will not vote'  
      4 = '(4) definitely will not vote'  
      5 = '(5) i already voted'  
      77 = '(77) dont know'  
      98 = '(98) skipped on web'  
      99 = '(99) don''t know/skipped on web/refused (vol)' ;
   value LV
      0 = '(0) 0-certain will not vote'  
      1 = '(1) 1'  
      2 = '(2) 2'  
      3 = '(3) 3'  
      4 = '(4) 4'  
      5 = '(5) 5'  
      6 = '(6) 6'  
      7 = '(7) 7'  
      8 = '(8) 8'  
      9 = '(9) 9'  
      10 = '(10) 10-certain will vote'  
      11 = '(11) already voted'  
      77 = '(77) dont know'  
      98 = '(98) skipped on web'  
      99 = '(99) don''t know/skipped on web/refused (vol)' ;
   value LIKELYVOTER
      1 = '(1) likely voter'  
      2 = '(2) nonvoter' ;
   value WVA
      1 = '(1) i voted in person at a polling place before election day'  
      2 = '(2) i voted by mail before election day'  
      3 = '(3) i voted in person at a polling place today'  
      4 = '(4) i voted by mail today'  
      77 = '(77) dont know'  
      98 = '(98) skipped on web'  
      99 = '(99) don''t know/skipped on web/refused (vol)' ;
   value WVB
      1 = '(1) i will vote by mail'  
      2 = '(2) i will vote in person before election day'  
      3 = '(3) i will vote in person at a polling place on election day'  
      4 = '(4) i will vote by mail today'  
      5 = '(5) i will vote in person at a polling place today'  
      77 = '(77) dont know'  
      98 = '(98) skipped on web'  
      99 = '(99) don''t know/skipped on web/refused (vol)' ;
   value TIMEVOTE
      1 = '(1) election day'  
      2 = '(2) early/absentee'  
      77 = '(77) dont know'  
      98 = '(98) skipped on web'  
      99 = '(99) don''t know/skipped on web/refused (vol)' ;
   value RACE3_VOTE
      60075 = '(60075) terry mcauliffe'  
      69738 = '(69738) princess blanding'  
      69739 = '(69739) glenn youngkin'  
      99991 = '(99991) the democratic candidate'  
      99992 = '(99992) the republican candidate'  
      100008 = '(100008) another candidate'  
      100013 = '(100013) none of these candidates' ;
   value RACE3_PARTY
      1 = '(1) democrat'  
      2 = '(2) republican'  
      3 = '(3) independent'  
      4 = '(4) libertarian'  
      5 = '(5) unaffiliated'  
      6 = '(6) other'  
      7 = '(7) conservative'  
      8 = '(8) none of these candidates'  
      9 = '(9) green'  
      10 = '(10) yes'  
      11 = '(11) no' ;
   value RACE3_RACEID
      0 = '(0) presidential general election'  
      47225 = '(47225) governor general election'  
      888888 = '(888888) house of representatives general election' ;
   value TIMEDECIDE
      1 = '(1) i''ve known all along'  
      2 = '(2) i decided over the course of the campaign'  
      3 = '(3) i decided in the last few days'  
      4 = '(4) i still haven''t decided'  
      77 = '(77) don''t know'  
      98 = '(98) skipped on web'  
      99 = '(99) don''t know/skipped on web/refused (vol)' ;
   value WNV
      1 = '(1) i do not like the candidates'  
      2 = '(2) i do not like politics generally'  
      3 = '(3) it takes too much time to vote'  
      4 = '(4) i do not know enough about the candidates'' positions'  
      5 = '(5) my vote does not matter'  
      6 = '(6) i do not have the required identification'  
      7 = '(7) i do not know where to vote'  
      8 = '(8) i am protesting how the 2020 election was handled'  
      77 = '(77) dont know'  
      98 = '(98) skipped on web'  
      99 = '(99) don''t know/skipped on web/refused (vol)' ;
   value GOVVOTEVA
      1 = '(1) terry mcauliffe'  
      2 = '(2) glenn youngkin'  
      3 = '(3) another candidate'  
      77 = '(77) dont know'  
      98 = '(98) skipped on web'  
      99 = '(99) don''t know/skipped on web/refused (vol)' ;
   value TRACK
      1 = '(1) right direction'  
      2 = '(2) wrong direction'  
      77 = '(77) don''t know'  
      98 = '(98) skipped on web'  
      99 = '(99) don''t know/skipped on web/refused (vol)' ;
   value PRESAPP
      1 = '(1) approve strongly'  
      2 = '(2) approve somewhat'  
      3 = '(3) disapprove somewhat'  
      4 = '(4) disapprove strongly'  
      77 = '(77) don''t know'  
      98 = '(98) skipped on web'  
      99 = '(99) don''t know/skipped on web/refused (vol)' ;
   value ISSUESVA
      1 = '(1) the economy and jobs'  
      2 = '(2) health care'  
      3 = '(3) immigration'  
      4 = '(4) abortion'  
      5 = '(5) law enforcement'  
      6 = '(6) climate change'  
      7 = '(7) education'  
      8 = '(8) the coronavirus pandemic'  
      9 = '(9) racism'  
      77 = '(77) dont know'  
      98 = '(98) skipped on web'  
      99 = '(99) don''t know/skipped on web/refused (vol)' ;
   value STEC
      1 = '(1) excellent'  
      2 = '(2) good'  
      3 = '(3) not so good'  
      4 = '(4) poor'  
      77 = '(77) dont know'  
      98 = '(98) skipped on web'  
      99 = '(99) don''t know/skipped on web/refused (vol)' ;
   value GETAHEAD
      1 = '(1) getting ahead'  
      2 = '(2) holding steady'  
      3 = '(3) falling behind'  
      77 = '(77) dont know'  
      98 = '(98) skipped on web'  
      99 = '(99) don''t know/skipped on web/refused (vol)' ;
   value VAVOTECOUNT
      1 = '(1) very confident'  
      2 = '(2) somewhat confident'  
      3 = '(3) not too confident'  
      4 = '(4) not at all confident'  
      77 = '(77) don''t know'  
      98 = '(98) skipped on web'  
      99 = '(99) don''t know/skipped on web/refused (vol)' ;
   value VAVOTESUPPRES
      1 = '(1) very confident'  
      2 = '(2) somewhat confident'  
      3 = '(3) not too confident'  
      4 = '(4) not at all confident'  
      77 = '(77) don''t know'  
      98 = '(98) skipped on web'  
      99 = '(99) don''t know/skipped on web/refused (vol)' ;
   value VAVOTEFRAUD
      1 = '(1) very confident'  
      2 = '(2) somewhat confident'  
      3 = '(3) not too confident'  
      4 = '(4) not at all confident'  
      77 = '(77) don''t know'  
      98 = '(98) skipped on web'  
      99 = '(99) don''t know/skipped on web/refused (vol)' ;
   value BIDENCOVID
      1 = '(1) approve strongly'  
      2 = '(2) approve somewhat'  
      3 = '(3) disapprove somewhat'  
      4 = '(4) disapprove strongly'  
      77 = '(77) don''t know'  
      98 = '(98) skipped on web'  
      99 = '(99) don''t know/skipped on web/refused (vol)' ;
   value BIDENECON
      1 = '(1) approve strongly'  
      2 = '(2) approve somewhat'  
      3 = '(3) disapprove somewhat'  
      4 = '(4) disapprove strongly'  
      77 = '(77) don''t know'  
      98 = '(98) skipped on web'  
      99 = '(99) don''t know/skipped on web/refused (vol)' ;
   value BIDENIMMIG
      1 = '(1) approve strongly'  
      2 = '(2) approve somewhat'  
      3 = '(3) disapprove somewhat'  
      4 = '(4) disapprove strongly'  
      77 = '(77) don''t know'  
      98 = '(98) skipped on web'  
      99 = '(99) don''t know/skipped on web/refused (vol)' ;
   value FAVBIDEN
      1 = '(1) very favorable'  
      2 = '(2) somewhat favorable'  
      3 = '(3) somewhat unfavorable'  
      4 = '(4) very unfavorable'  
      5 = '(5) do not know enough to say'  
      77 = '(77) don''t know'  
      98 = '(98) skipped on web'  
      99 = '(99) don''t know/skipped on web/refused (vol)' ;
   value FAVTRUMP
      1 = '(1) very favorable'  
      2 = '(2) somewhat favorable'  
      3 = '(3) somewhat unfavorable'  
      4 = '(4) very unfavorable'  
      5 = '(5) do not know enough to say'  
      77 = '(77) don''t know'  
      98 = '(98) skipped on web'  
      99 = '(99) don''t know/skipped on web/refused (vol)' ;
   value FAVMCAULIFFE
      1 = '(1) very favorable'  
      2 = '(2) somewhat favorable'  
      3 = '(3) somewhat unfavorable'  
      4 = '(4) very unfavorable'  
      5 = '(5) do not know enough to say'  
      77 = '(77) don''t know'  
      98 = '(98) skipped on web'  
      99 = '(99) don''t know/skipped on web/refused (vol)' ;
   value FAVYOUNGKIN
      1 = '(1) very favorable'  
      2 = '(2) somewhat favorable'  
      3 = '(3) somewhat unfavorable'  
      4 = '(4) very unfavorable'  
      5 = '(5) do not know enough to say'  
      77 = '(77) don''t know'  
      98 = '(98) skipped on web'  
      99 = '(99) don''t know/skipped on web/refused (vol)' ;
   value FAVNORTHAM
      1 = '(1) very favorable'  
      2 = '(2) somewhat favorable'  
      3 = '(3) somewhat unfavorable'  
      4 = '(4) very unfavorable'  
      5 = '(5) do not know enough to say'  
      77 = '(77) don''t know'  
      98 = '(98) skipped on web'  
      99 = '(99) don''t know/skipped on web/refused (vol)' ;
   value FAVDEM
      1 = '(1) very favorable'  
      2 = '(2) somewhat favorable'  
      3 = '(3) somewhat unfavorable'  
      4 = '(4) very unfavorable'  
      5 = '(5) do not know enough to say'  
      77 = '(77) don''t know'  
      98 = '(98) skipped on web'  
      99 = '(99) don''t know/skipped on web/refused (vol)' ;
   value FAVREP
      1 = '(1) very favorable'  
      2 = '(2) somewhat favorable'  
      3 = '(3) somewhat unfavorable'  
      4 = '(4) very unfavorable'  
      5 = '(5) do not know enough to say'  
      77 = '(77) don''t know'  
      98 = '(98) skipped on web'  
      99 = '(99) don''t know/skipped on web/refused (vol)' ;
   value MCAULIFFEBIDEN
      1 = '(1) too much'  
      2 = '(2) too little'  
      3 = '(3) about the right amount'  
      77 = '(77) don''t know'  
      98 = '(98) skipped on web'  
      99 = '(99) don''t know/skipped on web/refused (vol)' ;
   value YOUNGKINTRUMP
      1 = '(1) too much'  
      2 = '(2) too little'  
      3 = '(3) about the right amount'  
      77 = '(77) don''t know'  
      98 = '(98) skipped on web'  
      99 = '(99) don''t know/skipped on web/refused (vol)' ;
   value IMPTCRT
      1 = '(1) the single most important factor'  
      2 = '(2) an important factor, but not the most important'  
      3 = '(3) a minor factor'  
      4 = '(4) not a factor'  
      77 = '(77) don''t know'  
      98 = '(98) skipped on web'  
      99 = '(99) don''t know/skipped on web/refused (vol)' ;
   value IMPTBIDEN
      1 = '(1) the single most important factor'  
      2 = '(2) an important factor, but not the most important'  
      3 = '(3) a minor factor'  
      4 = '(4) not a factor'  
      77 = '(77) don''t know'  
      98 = '(98) skipped on web'  
      99 = '(99) don''t know/skipped on web/refused (vol)' ;
   value IMPTTAXES
      1 = '(1) the single most important factor'  
      2 = '(2) an important factor, but not the most important'  
      3 = '(3) a minor factor'  
      4 = '(4) not a factor'  
      77 = '(77) don''t know'  
      98 = '(98) skipped on web'  
      99 = '(99) don''t know/skipped on web/refused (vol)' ;
   value IMPTTMGOV
      1 = '(1) the single most important factor'  
      2 = '(2) an important factor, but not the most important'  
      3 = '(3) a minor factor'  
      4 = '(4) not a factor'  
      77 = '(77) don''t know'  
      98 = '(98) skipped on web'  
      99 = '(99) don''t know/skipped on web/refused (vol)' ;
   value IMPTGYBIZ
      1 = '(1) the single most important factor'  
      2 = '(2) an important factor, but not the most important'  
      3 = '(3) a minor factor'  
      4 = '(4) not a factor'  
      77 = '(77) don''t know'  
      98 = '(98) skipped on web'  
      99 = '(99) don''t know/skipped on web/refused (vol)' ;
   value IMPTCOVIDSCHLS
      1 = '(1) the single most important factor'  
      2 = '(2) an important factor, but not the most important'  
      3 = '(3) a minor factor'  
      4 = '(4) not a factor'  
      77 = '(77) don''t know'  
      98 = '(98) skipped on web'  
      99 = '(99) don''t know/skipped on web/refused (vol)' ;
   value MASKSSCHOOLS
      1 = '(1) strongly favor'  
      2 = '(2) somewhat favor'  
      3 = '(3) somewhat oppose'  
      4 = '(4) strongly oppose'  
      77 = '(77) don''t know'  
      98 = '(98) skipped on web'  
      99 = '(99) don''t know/skipped on web/refused (vol)' ;
   value VAXTEACHERS
      1 = '(1) strongly favor'  
      2 = '(2) somewhat favor'  
      3 = '(3) somewhat oppose'  
      4 = '(4) strongly oppose'  
      77 = '(77) don''t know'  
      98 = '(98) skipped on web'  
      99 = '(99) don''t know/skipped on web/refused (vol)' ;
   value VAXHEALTHWORK
      1 = '(1) strongly favor'  
      2 = '(2) somewhat favor'  
      3 = '(3) somewhat oppose'  
      4 = '(4) strongly oppose'  
      77 = '(77) don''t know'  
      98 = '(98) skipped on web'  
      99 = '(99) don''t know/skipped on web/refused (vol)' ;
   value RACISMUS
      1 = '(1) very serious'  
      2 = '(2) somewhat serious'  
      3 = '(3) not too serious'  
      4 = '(4) not at all serious'  
      77 = '(77) don''t know'  
      98 = '(98) skipped on web'  
      99 = '(99) don''t know/skipped on web/refused (vol)' ;
   value RACISMPOLICING
      1 = '(1) very serious'  
      2 = '(2) somewhat serious'  
      3 = '(3) not too serious'  
      4 = '(4) not at all serious'  
      77 = '(77) don''t know'  
      98 = '(98) skipped on web'  
      99 = '(99) don''t know/skipped on web/refused (vol)' ;
   value RACISMSCHOOLS
      1 = '(1) too much'  
      2 = '(2) too little'  
      3 = '(3) about right'  
      77 = '(77) don''t know'  
      98 = '(98) skipped on web'  
      99 = '(99) don''t know/skipped on web/refused (vol)' ;
   value ABORTION
      1 = '(1) legal in all cases'  
      2 = '(2) legal in most cases'  
      3 = '(3) illegal in most cases'  
      4 = '(4) illegal in all cases'  
      77 = '(77) don''t know'  
      98 = '(98) skipped on web'  
      99 = '(99) don''t know/skipped on web/refused (vol)' ;
   value UNFAIRMCAULIFFE
      1 = '(1) yes, he did'  
      2 = '(2) no, he did not'  
      77 = '(77) don''t know'  
      98 = '(98) skipped on web'  
      99 = '(99) don''t know/skipped on web/refused (vol)' ;
   value UNFAIRYOUNGKIN
      1 = '(1) yes, he did'  
      2 = '(2) no, he did not'  
      77 = '(77) don''t know'  
      98 = '(98) skipped on web'  
      99 = '(99) don''t know/skipped on web/refused (vol)' ;
   value IDEO5F
      1 = '(1) very liberal'  
      2 = '(2) somewhat liberal'  
      3 = '(3) moderate'  
      4 = '(4) somewhat conservative'  
      5 = '(5) very conservative'  
      77 = '(77) dont know'  
      98 = '(98) skipped on web'  
      99 = '(99) don''t know/skipped on web/refused (vol)' ;
   value PARTY
      1 = '(1) democrat'  
      2 = '(2) republican'  
      3 = '(3) neither'  
      77 = '(77) dont know'  
      98 = '(98) skipped on web'  
      99 = '(99) don''t know/skipped on web/refused (vol)' ;
   value PARTYFULL
      1 = '(1) democrat/lean dem'  
      2 = '(2) republican/lean rep'  
      3 = '(3) independent'  
      77 = '(77) dont know'  
      98 = '(98) skipped on web'  
      99 = '(99) don''t know/skipped on web/refused (vol)' ;
   value VOTE20F
      1 = '(1) voted in 2020 presidential election'  
      2 = '(2) did not vote in 2020 presidential election'  
      77 = '(77) dont know'  
      98 = '(98) skipped on web'  
      99 = '(99) don''t know/skipped on web/refused (vol)' ;
   value VOTE20CHOICE
      1 = '(1) joe biden'  
      2 = '(2) donald trump'  
      3 = '(3) someone else'  
      4 = '(4) did not vote'  
      77 = '(77) don''t know'  
      98 = '(98) skipped on web'  
      99 = '(99) don''t know/skipped on web/refused (vol)' ;
   value VOTE18F
      1 = '(1) voted in 2018 midterm election'  
      2 = '(2) did not vote in 2018 midterm election'  
      77 = '(77) dont know'  
      98 = '(98) skipped on web'  
      99 = '(99) don''t know/skipped on web/refused (vol)' ;
   value VOTE18CHOICE
      1 = '(1) tim kaine'  
      2 = '(2) corey stewart'  
      3 = '(3) someone else'  
      4 = '(4) did not vote'  
      77 = '(77) don''t know'  
      98 = '(98) skipped on web'  
      99 = '(99) don''t know/skipped on web/refused (vol)' ;
   value AGE65F
      1 = '(1) 18-24'  
      2 = '(2) 25-29'  
      3 = '(3) 30-39'  
      4 = '(4) 40-49'  
      5 = '(5) 50-64'  
      6 = '(6) 65+'  
      77 = '(77) dont know'  
      98 = '(98) skipped on web'  
      99 = '(99) don''t know/skipped on web/refused (vol)' ;
   value PARENT
      1 = '(1) yes'  
      2 = '(2) no'  
      77 = '(77) dont know'  
      98 = '(98) skipped on web'  
      99 = '(99) don''t know/skipped on web/refused (vol)' ;
   value EDUC
      1 = '(1) high school or less'  
      2 = '(2) some college/assoc. degree'  
      3 = '(3) college graduate'  
      4 = '(4) postgraduate study'  
      77 = '(77) dont know'  
      98 = '(98) skipped on web'  
      99 = '(99) don''t know/skipped on web/refused (vol)' ;
   value BORNAGAINSTATE
      1 = '(1) evangelical/born-again christians'  
      2 = '(2) all others'  
      77 = '(77) dont know'  
      98 = '(98) skipped on web'  
      99 = '(99) don''t know/skipped on web/refused (vol)' ;
   value RACETH5F
      1 = '(1) white'  
      2 = '(2) african american or black'  
      3 = '(3) latino or hispanic'  
      4 = '(4) asian'  
      5 = '(5) other'  
      77 = '(77) dont know'  
      98 = '(98) skipped on web'  
      99 = '(99) don''t know/skipped on web/refused (vol)' ;
   value SIZEPLACE
      1 = '(1) urban'  
      2 = '(2) suburban'  
      3 = '(3) small town'  
      4 = '(4) rural'  
      77 = '(77) dont know'  
      98 = '(98) skipped on web'  
      99 = '(99) don''t know/skipped on web/refused (vol)' ;
   value VAX
      1 = '(1) yes'  
      2 = '(2) no'  
      77 = '(77) don''t know'  
      98 = '(98) skipped on web'  
      99 = '(99) don''t know/skipped on web/refused (vol)' ;
   value INCOME
      1 = '(1) under $25,000'  
      2 = '(2) $25,000-$49,999'  
      3 = '(3) $50,000-$74,999'  
      4 = '(4) $75,000-$99,999'  
      5 = '(5) $100,000 or more'  
      77 = '(77) dont know'  
      98 = '(98) skipped on web'  
      99 = '(99) don''t know/skipped on web/refused (vol)' ;
   value GENDER
      1 = '(1) men'  
      2 = '(2) women'  
      3 = '(3) nonbinary/other'  
      77 = '(77) dont know'  
      98 = '(98) skipped on web'  
      99 = '(99) don''t know/skipped on web/refused (vol)' ;

proc datasets library = library ;
modify ap_votecast_2021_va;
   format      mode MODE.;
   format       lva LVA.;
   format       lvb LVB.;
   format        lv LV.;
   format likelyvoter LIKELYVOTER.;
   format       wva WVA.;
   format       wvb WVB.;
   format  timevote TIMEVOTE.;
   format race3_vote RACE3_VOTE.;
   format race3_party RACE3_PARTY.;
   format race3_raceid RACE3_RACEID.;
   format timedecide TIMEDECIDE.;
   format       wnv WNV.;
   format govvoteva GOVVOTEVA.;
   format     track TRACK.;
   format   presapp PRESAPP.;
   format  issuesva ISSUESVA.;
   format      stec STEC.;
   format  getahead GETAHEAD.;
   format vavotecount VAVOTECOUNT.;
   format vavotesuppres VAVOTESUPPRES.;
   format vavotefraud VAVOTEFRAUD.;
   format bidencovid BIDENCOVID.;
   format bidenecon BIDENECON.;
   format bidenimmig BIDENIMMIG.;
   format  favbiden FAVBIDEN.;
   format  favtrump FAVTRUMP.;
   format favmcauliffe FAVMCAULIFFE.;
   format favyoungkin FAVYOUNGKIN.;
   format favnortham FAVNORTHAM.;
   format    favdem FAVDEM.;
   format    favrep FAVREP.;
   format mcauliffebiden MCAULIFFEBIDEN.;
   format youngkintrump YOUNGKINTRUMP.;
   format   imptcrt IMPTCRT.;
   format imptbiden IMPTBIDEN.;
   format impttaxes IMPTTAXES.;
   format impttmgov IMPTTMGOV.;
   format imptgybiz IMPTGYBIZ.;
   format imptcovidschls IMPTCOVIDSCHLS.;
   format masksschools MASKSSCHOOLS.;
   format vaxteachers VAXTEACHERS.;
   format vaxhealthwork VAXHEALTHWORK.;
   format  racismus RACISMUS.;
   format racismpolicing RACISMPOLICING.;
   format racismschools RACISMSCHOOLS.;
   format  abortion ABORTION.;
   format unfairmcauliffe UNFAIRMCAULIFFE.;
   format unfairyoungkin UNFAIRYOUNGKIN.;
   format     ideo5 IDEO5F.;
   format     party PARTY.;
   format partyfull PARTYFULL.;
   format    vote20 VOTE20F.;
   format vote20choice VOTE20CHOICE.;
   format    vote18 VOTE18F.;
   format vote18choice VOTE18CHOICE.;
   format     age65 AGE65F.;
   format    parent PARENT.;
   format      educ EDUC.;
   format bornagainstate BORNAGAINSTATE.;
   format   raceth5 RACETH5F.;
   format sizeplace SIZEPLACE.;
   format       vax VAX.;
   format    income INCOME.;
   format    gender GENDER.;
quit;
